HSL(126, 71%, 40%)
Green — Green color
Adjust Color
Color Information
Color Name
Green
Color Family
Green
Warm / Cool
🔵 Cool
Temperature
5000K
CSS Class
bg-[hsl(126,71%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(126, 71%, 40%) | color: hsl(126, 71%, 40%) | |
| HEX | #1EAE2C | color: #1EAE2C | |
| RGB | rgb(30, 174, 44) | color: rgb(30, 174, 44) | |
| CMYK | cmyk(83%, 0%, 75%, 32%) | — | |
| HSV | hsv(126, 83%, 68%) | — | |
| HWB | hwb(126 12% 32%) | color: hwb(126 12% 32%) | |
| OKLCH | oklch(0.655 0.2032 143.78) | color: oklch(0.655 0.2032 143.78) | |
| Lab | lab(62.28 -60.61 53.11) | color: lab(62.28 -60.61 53.11) | |
| LCH | lch(62.28 80.59 138.77) | color: lch(62.28 80.59 138.77) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#5C5E4B — rgb(92, 94, 75)
Deuteranopia (Green-blind)
#544953 — rgb(84, 73, 83)
Tritanopia (Blue-blind)
#25646A — rgb(37, 100, 106)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(126, 71%, 40%);
text
color: hsl(126, 71%, 40%);
border
border: 2px solid hsl(126, 71%, 40%);
gradient light
background: linear-gradient(to right, hsl(126, 71%, 60%), hsl(126, 71%, 40%));
gradient dark
background: linear-gradient(to right, hsl(126, 71%, 40%), hsl(126, 71%, 20%))
hex
background-color: #1EAE2C;
tailwind
bg-[hsl(126,71%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(126, 71%, 40%, 0.4);
css variable
--color-primary: hsl(126, 71%, 40%);
Related Colors
Use Cases for Green
Frequently Asked Questions
What are all the color codes for HSL(126, 71%, 40%)?
HEX: #1EAE2C | RGB: rgb(30, 174, 44) | CMYK: 83%, 0%, 75%, 32% | HSV: 126°, 83%, 68%. Copy any format from the conversion table above.
What colors go well with #1EAE2C?
The complementary color is HSL(306, 71%, 40%). 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, 71%, 40%) in CSS?
As HSL: color: hsl(126, 71%, 40%); — As HEX: color: #1EAE2C; — As RGB: color: rgb(30, 174, 44); — Tailwind CSS: bg-[hsl(126,71%,40%)] — CSS variable: --color-primary: hsl(126, 71%, 40%);