HSL(126, 69%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,69%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 69%, 20%) | color: hsl(126, 69%, 20%) | |
| HEX | #105617 | color: #105617 | |
| RGB | rgb(16, 86, 23) | color: rgb(16, 86, 23) | |
| CMYK | cmyk(81%, 0%, 73%, 66%) | — | |
| HSV | hsv(126, 81%, 34%) | — | |
| HWB | hwb(126 6% 66%) | color: hwb(126 6% 66%) | |
| OKLCH | oklch(0.3972 0.1165 144.24) | color: oklch(0.3972 0.1165 144.24) | |
| Lab | lab(31.41 -34.96 29.56) | color: lab(31.41 -34.96 29.56) | |
| LCH | lch(31.41 45.78 139.78) | color: lch(31.41 45.78 139.78) |
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)
#2E2F26 — rgb(46, 47, 38)
Deuteranopia (Green-blind)
#2A252A — rgb(42, 37, 42)
Tritanopia (Blue-blind)
#143235 — rgb(20, 50, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 69%, 20%);
text
color: hsl(126, 69%, 20%);
border
border: 2px solid hsl(126, 69%, 20%);
gradient light
background: linear-gradient(to right, hsl(126, 69%, 40%), hsl(126, 69%, 20%));
gradient dark
background: linear-gradient(to right, hsl(126, 69%, 20%), hsl(126, 69%, 0%))
hex
background-color: #105617;
tailwind
bg-[hsl(126,69%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 69%, 20%, 0.4);
css variable
--color-primary: hsl(126, 69%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 69%, 20%)?
HEX: #105617 | RGB: rgb(16, 86, 23) | CMYK: 81%, 0%, 73%, 66% | HSV: 126°, 81%, 34%. Copy any format from the conversion table above.
What colors go well with #105617?
The complementary color is HSL(306, 69%, 20%). For a triadic harmony, use hues 126°, 246°, and 6°. For analogous combinations, try hues 96° and 156°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(126, 69%, 20%) in CSS?
As HSL: color: hsl(126, 69%, 20%); — As HEX: color: #105617; — As RGB: color: rgb(16, 86, 23); — Tailwind CSS: bg-[hsl(126,69%,20%)] — CSS variable: --color-primary: hsl(126, 69%, 20%);