HSL(126, 91%, 20%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,91%,20%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 91%, 20%) | color: hsl(126, 91%, 20%) | |
| HEX | #05610E | color: #05610E | |
| RGB | rgb(5, 97, 14) | color: rgb(5, 97, 14) | |
| CMYK | cmyk(95%, 0%, 86%, 62%) | — | |
| HSV | hsv(126, 95%, 38%) | — | |
| HWB | hwb(126 2% 62%) | color: hwb(126 2% 62%) | |
| OKLCH | oklch(0.4283 0.1382 143.47) | color: oklch(0.4283 0.1382 143.47) | |
| Lab | lab(35.23 -41.06 36.95) | color: lab(35.23 -41.06 36.95) | |
| LCH | lch(35.23 55.24 138.02) | color: lch(35.23 55.24 138.02) |
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)
#2D2E22 — rgb(45, 46, 34)
Deuteranopia (Green-blind)
#282127 — rgb(40, 33, 39)
Tritanopia (Blue-blind)
#0A3235 — rgb(10, 50, 53)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 91%, 20%);
text
color: hsl(126, 91%, 20%);
border
border: 2px solid hsl(126, 91%, 20%);
gradient light
background: linear-gradient(to right, hsl(126, 91%, 40%), hsl(126, 91%, 20%));
gradient dark
background: linear-gradient(to right, hsl(126, 91%, 20%), hsl(126, 91%, 0%))
hex
background-color: #05610E;
tailwind
bg-[hsl(126,91%,20%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 91%, 20%, 0.4);
css variable
--color-primary: hsl(126, 91%, 20%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 91%, 20%)?
HEX: #05610E | RGB: rgb(5, 97, 14) | CMYK: 95%, 0%, 86%, 62% | HSV: 126°, 95%, 38%. Copy any format from the conversion table above.
What colors go well with #05610E?
The complementary color is HSL(306, 91%, 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, 91%, 20%) in CSS?
As HSL: color: hsl(126, 91%, 20%); — As HEX: color: #05610E; — As RGB: color: rgb(5, 97, 14); — Tailwind CSS: bg-[hsl(126,91%,20%)] — CSS variable: --color-primary: hsl(126, 91%, 20%);