HSL(79, 30%, 42%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(79,30%,42%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(79, 30%, 42%) | color: hsl(79, 30%, 42%) | |
| HEX | #778B4B | color: #778B4B | |
| RGB | rgb(119, 139, 75) | color: rgb(119, 139, 75) | |
| CMYK | cmyk(14%, 0%, 46%, 45%) | — | |
| HSV | hsv(79, 46%, 55%) | — | |
| HWB | hwb(79 30% 45%) | color: hwb(79 30% 45%) | |
| OKLCH | oklch(0.6054 0.0918 123.35) | color: oklch(0.6054 0.0918 123.35) | |
| Lab | lab(54.96 -18.16 31.76) | color: lab(54.96 -18.16 31.76) | |
| LCH | lch(54.96 36.59 119.76) | color: lch(54.96 36.59 119.76) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#80805A — rgb(128, 128, 90)
Deuteranopia (Green-blind)
#7F7D5E — rgb(127, 125, 94)
Tritanopia (Blue-blind)
#786769 — rgb(120, 103, 105)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(79, 30%, 42%);
text
color: hsl(79, 30%, 42%);
border
border: 2px solid hsl(79, 30%, 42%);
gradient light
background: linear-gradient(to right, hsl(79, 30%, 62%), hsl(79, 30%, 42%));
gradient dark
background: linear-gradient(to right, hsl(79, 30%, 42%), hsl(79, 30%, 22%))
hex
background-color: #778B4B;
tailwind
bg-[hsl(79,30%,42%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(79, 30%, 42%, 0.4);
css variable
--color-primary: hsl(79, 30%, 42%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(79, 30%, 42%)?
HEX: #778B4B | RGB: rgb(119, 139, 75) | CMYK: 14%, 0%, 46%, 45% | HSV: 79°, 46%, 55%. Copy any format from the conversion table above.
What colors go well with #778B4B?
The complementary color is HSL(259, 30%, 42%). For a triadic harmony, use hues 79°, 199°, and 319°. For analogous combinations, try hues 49° and 109°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(79, 30%, 42%) in CSS?
As HSL: color: hsl(79, 30%, 42%); — As HEX: color: #778B4B; — As RGB: color: rgb(119, 139, 75); — Tailwind CSS: bg-[hsl(79,30%,42%)] — CSS variable: --color-primary: hsl(79, 30%, 42%);