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

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.94:1
vs Black 7.15:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

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

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

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

Success states Eco/nature brands Finance apps Health apps Confirm buttons

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%);