HSL(126, 41%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(126,41%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(126, 41%, 51%) color: hsl(126, 41%, 51%)
HEX #4FB559 color: #4FB559
RGB rgb(79, 181, 89) color: rgb(79, 181, 89)
CMYK cmyk(56%, 0%, 51%, 29%)
HSV hsv(126, 56%, 71%)
HWB hwb(126 31% 29%) color: hwb(126 31% 29%)
OKLCH oklch(0.691 0.1611 145.41) color: oklch(0.691 0.1611 145.41)
Lab lab(66.08 -48.91 37.88) color: lab(66.08 -48.91 37.88)
LCH lch(66.08 61.86 142.24) color: lch(66.08 61.86 142.24)

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.6:1
vs Black 8.09: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)

#7B7C6F — rgb(123, 124, 111)

Deuteranopia (Green-blind)

#756E75 — rgb(117, 110, 117)

Tritanopia (Blue-blind)

#548185 — rgb(84, 129, 133)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(126, 41%, 51%);

text

color: hsl(126, 41%, 51%);

border

border: 2px solid hsl(126, 41%, 51%);

gradient light

background: linear-gradient(to right, hsl(126, 41%, 71%), hsl(126, 41%, 51%));

gradient dark

background: linear-gradient(to right, hsl(126, 41%, 51%), hsl(126, 41%, 31%))

hex

background-color: #4FB559;

tailwind

bg-[hsl(126,41%,51%)]

box shadow

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

css variable

--color-primary: hsl(126, 41%, 51%);

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, 41%, 51%)?

HEX: #4FB559 | RGB: rgb(79, 181, 89) | CMYK: 56%, 0%, 51%, 29% | HSV: 126°, 56%, 71%. Copy any format from the conversion table above.

What colors go well with #4FB559?

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

As HSL: color: hsl(126, 41%, 51%); — As HEX: color: #4FB559; — As RGB: color: rgb(79, 181, 89); — Tailwind CSS: bg-[hsl(126,41%,51%)] — CSS variable: --color-primary: hsl(126, 41%, 51%);