HSL(126, 59%, 57%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,59%,57%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 59%, 57%) color: hsl(126, 59%, 57%)
HEX #51D25E color: #51D25E
RGB rgb(81, 210, 94) color: rgb(81, 210, 94)
CMYK cmyk(61%, 0%, 55%, 18%)
HSV hsv(126, 61%, 82%)
HWB hwb(126 32% 18%) color: hwb(126 32% 18%)
OKLCH oklch(0.7668 0.1939 145.1) color: oklch(0.7668 0.1939 145.1)
Lab lab(75.23 -58.74 46.57) color: lab(75.23 -58.74 46.57)
LCH lch(75.23 74.96 141.59) color: lch(75.23 74.96 141.59)

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 1.96:1
vs Black 10.73: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)

#898A7A — rgb(137, 138, 122)

Deuteranopia (Green-blind)

#817881 — rgb(129, 120, 129)

Tritanopia (Blue-blind)

#579095 — rgb(87, 144, 149)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 59%, 57%);

text

color: hsl(126, 59%, 57%);

border

border: 2px solid hsl(126, 59%, 57%);

gradient light

background: linear-gradient(to right, hsl(126, 59%, 77%), hsl(126, 59%, 57%));

gradient dark

background: linear-gradient(to right, hsl(126, 59%, 57%), hsl(126, 59%, 37%))

hex

background-color: #51D25E;

tailwind

bg-[hsl(126,59%,57%)]

box shadow

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

css variable

--color-primary: hsl(126, 59%, 57%);

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, 59%, 57%)?

HEX: #51D25E | RGB: rgb(81, 210, 94) | CMYK: 61%, 0%, 55%, 18% | HSV: 126°, 61%, 82%. Copy any format from the conversion table above.

What colors go well with #51D25E?

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

As HSL: color: hsl(126, 59%, 57%); — As HEX: color: #51D25E; — As RGB: color: rgb(81, 210, 94); — Tailwind CSS: bg-[hsl(126,59%,57%)] — CSS variable: --color-primary: hsl(126, 59%, 57%);