HSL(112, 91%, 21%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(112,91%,21%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(112, 91%, 21%) | color: hsl(112, 91%, 21%) | |
| HEX | #126605 | color: #126605 | |
| RGB | rgb(18, 102, 5) | color: rgb(18, 102, 5) | |
| CMYK | cmyk(82%, 0%, 95%, 60%) | — | |
| HSV | hsv(112, 95%, 40%) | — | |
| HWB | hwb(112 2% 60%) | color: hwb(112 2% 60%) | |
| OKLCH | oklch(0.445 0.1448 141.55) | color: oklch(0.445 0.1448 141.55) | |
| Lab | lab(37.19 -41.58 41.34) | color: lab(37.19 -41.58 41.34) | |
| LCH | lch(37.19 58.63 135.17) | color: lch(37.19 58.63 135.17) |
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)
#36371C — rgb(54, 55, 28)
Deuteranopia (Green-blind)
#322B22 — rgb(50, 43, 34)
Tritanopia (Blue-blind)
#162F33 — rgb(22, 47, 51)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(112, 91%, 21%);
text
color: hsl(112, 91%, 21%);
border
border: 2px solid hsl(112, 91%, 21%);
gradient light
background: linear-gradient(to right, hsl(112, 91%, 41%), hsl(112, 91%, 21%));
gradient dark
background: linear-gradient(to right, hsl(112, 91%, 21%), hsl(112, 91%, 1%))
hex
background-color: #126605;
tailwind
bg-[hsl(112,91%,21%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(112, 91%, 21%, 0.4);
css variable
--color-primary: hsl(112, 91%, 21%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(112, 91%, 21%)?
HEX: #126605 | RGB: rgb(18, 102, 5) | CMYK: 82%, 0%, 95%, 60% | HSV: 112°, 95%, 40%. Copy any format from the conversion table above.
What colors go well with #126605?
The complementary color is HSL(292, 91%, 21%). For a triadic harmony, use hues 112°, 232°, and 352°. For analogous combinations, try hues 82° and 142°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(112, 91%, 21%) in CSS?
As HSL: color: hsl(112, 91%, 21%); — As HEX: color: #126605; — As RGB: color: rgb(18, 102, 5); — Tailwind CSS: bg-[hsl(112,91%,21%)] — CSS variable: --color-primary: hsl(112, 91%, 21%);