HSL(79, 100%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(79,100%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(79, 100%, 20%) | color: hsl(79, 100%, 20%) | |
| HEX | #466600 | color: #466600 | |
| RGB | rgb(70, 102, 0) | color: rgb(70, 102, 0) | |
| CMYK | cmyk(31%, 0%, 100%, 60%) | — | |
| HSV | hsv(79, 100%, 40%) | — | |
| HWB | hwb(79 0% 60%) | color: hwb(79 0% 60%) | |
| OKLCH | oklch(0.4676 0.1221 127.9) | color: oklch(0.4676 0.1221 127.9) | |
| Lab | lab(39.25 -25.83 45.25) | color: lab(39.25 -25.83 45.25) | |
| LCH | lch(39.25 52.1 119.72) | color: lch(39.25 52.1 119.72) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#545419 — rgb(84, 84, 25)
Deuteranopia (Green-blind)
#52501F — rgb(82, 80, 31)
Tritanopia (Blue-blind)
#482C30 — rgb(72, 44, 48)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(79, 100%, 20%);
text
color: hsl(79, 100%, 20%);
border
border: 2px solid hsl(79, 100%, 20%);
gradient light
background: linear-gradient(to right, hsl(79, 100%, 40%), hsl(79, 100%, 20%));
gradient dark
background: linear-gradient(to right, hsl(79, 100%, 20%), hsl(79, 100%, 0%))
hex
background-color: #466600;
tailwind
bg-[hsl(79,100%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(79, 100%, 20%, 0.4);
css variable
--color-primary: hsl(79, 100%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(79, 100%, 20%)?
HEX: #466600 | RGB: rgb(70, 102, 0) | CMYK: 31%, 0%, 100%, 60% | HSV: 79°, 100%, 40%. Copy any format from the conversion table above.
What colors go well with #466600?
The complementary color is HSL(259, 100%, 20%). 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, 100%, 20%) in CSS?
As HSL: color: hsl(79, 100%, 20%); — As HEX: color: #466600; — As RGB: color: rgb(70, 102, 0); — Tailwind CSS: bg-[hsl(79,100%,20%)] — CSS variable: --color-primary: hsl(79, 100%, 20%);