HSL(126, 91%, 40%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,91%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 91%, 40%) color: hsl(126, 91%, 40%)
HEX #09C31C color: #09C31C
RGB rgb(9, 195, 28) color: rgb(9, 195, 28)
CMYK cmyk(95%, 0%, 86%, 24%)
HSV hsv(126, 95%, 76%)
HWB hwb(126 4% 24%) color: hwb(126 4% 24%)
OKLCH oklch(0.7092 0.2344 143.13) color: oklch(0.7092 0.2344 143.13)
Lab lab(68.87 -69.26 63.94) color: lab(68.87 -69.26 63.94)
LCH lch(68.87 94.26 137.29) color: lch(68.87 94.26 137.29)

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.38:1
vs Black 8.83: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)

#5A5B44 — rgb(90, 91, 68)

Deuteranopia (Green-blind)

#4F414E — rgb(79, 65, 78)

Tritanopia (Blue-blind)

#12646B — rgb(18, 100, 107)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 91%, 40%);

text

color: hsl(126, 91%, 40%);

border

border: 2px solid hsl(126, 91%, 40%);

gradient light

background: linear-gradient(to right, hsl(126, 91%, 60%), hsl(126, 91%, 40%));

gradient dark

background: linear-gradient(to right, hsl(126, 91%, 40%), hsl(126, 91%, 20%))

hex

background-color: #09C31C;

tailwind

bg-[hsl(126,91%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(126, 91%, 40%, 0.4);

css variable

--color-primary: hsl(126, 91%, 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, 91%, 40%)?

HEX: #09C31C | RGB: rgb(9, 195, 28) | CMYK: 95%, 0%, 86%, 24% | HSV: 126°, 95%, 76%. Copy any format from the conversion table above.

What colors go well with #09C31C?

The complementary color is HSL(306, 91%, 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, 91%, 40%) in CSS?

As HSL: color: hsl(126, 91%, 40%); — As HEX: color: #09C31C; — As RGB: color: rgb(9, 195, 28); — Tailwind CSS: bg-[hsl(126,91%,40%)] — CSS variable: --color-primary: hsl(126, 91%, 40%);