HSL(79, 92%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
3500K
CSS Class
bg-[hsl(79,92%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(79, 92%, 21%) | color: hsl(79, 92%, 21%) | |
| HEX | #486704 | color: #486704 | |
| RGB | rgb(72, 103, 4) | color: rgb(72, 103, 4) | |
| CMYK | cmyk(30%, 0%, 96%, 60%) | — | |
| HSV | hsv(79, 96%, 40%) | — | |
| HWB | hwb(79 2% 60%) | color: hwb(79 2% 60%) | |
| OKLCH | oklch(0.4719 0.1207 127.53) | color: oklch(0.4719 0.1207 127.53) | |
| Lab | lab(39.73 -25.32 44.6) | color: lab(39.73 -25.32 44.6) | |
| LCH | lch(39.73 51.29 119.58) | color: lch(39.73 51.29 119.58) |
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)
#55561C — rgb(85, 86, 28)
Deuteranopia (Green-blind)
#545122 — rgb(84, 81, 34)
Tritanopia (Blue-blind)
#4A2F33 — rgb(74, 47, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(79, 92%, 21%);
text
color: hsl(79, 92%, 21%);
border
border: 2px solid hsl(79, 92%, 21%);
gradient light
background: linear-gradient(to right, hsl(79, 92%, 41%), hsl(79, 92%, 21%));
gradient dark
background: linear-gradient(to right, hsl(79, 92%, 21%), hsl(79, 92%, 1%))
hex
background-color: #486704;
tailwind
bg-[hsl(79,92%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(79, 92%, 21%, 0.4);
css variable
--color-primary: hsl(79, 92%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(79, 92%, 21%)?
HEX: #486704 | RGB: rgb(72, 103, 4) | CMYK: 30%, 0%, 96%, 60% | HSV: 79°, 96%, 40%. Copy any format from the conversion table above.
What colors go well with #486704?
The complementary color is HSL(259, 92%, 21%). 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, 92%, 21%) in CSS?
As HSL: color: hsl(79, 92%, 21%); — As HEX: color: #486704; — As RGB: color: rgb(72, 103, 4); — Tailwind CSS: bg-[hsl(79,92%,21%)] — CSS variable: --color-primary: hsl(79, 92%, 21%);