HSL(143, 31%, 51%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(143,31%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(143, 31%, 51%) color: hsl(143, 31%, 51%)
HEX #5BA979 color: #5BA979
RGB rgb(91, 169, 121) color: rgb(91, 169, 121)
CMYK cmyk(46%, 0%, 28%, 34%)
HSV hsv(143, 46%, 66%)
HWB hwb(143 36% 34%) color: hwb(143 36% 34%)
OKLCH oklch(0.6715 0.106 155.22) color: oklch(0.6715 0.106 155.22)
Lab lab(63.33 -35.15 17.48) color: lab(63.33 -35.15 17.48)
LCH lch(63.33 39.26 153.56) color: lch(63.33 39.26 153.56)

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.84:1
vs Black 7.4: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)

#7D7D85 — rgb(125, 125, 133)

Deuteranopia (Green-blind)

#787287 — rgb(120, 114, 135)

Tritanopia (Blue-blind)

#5F8E90 — rgb(95, 142, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(143, 31%, 51%);

text

color: hsl(143, 31%, 51%);

border

border: 2px solid hsl(143, 31%, 51%);

gradient light

background: linear-gradient(to right, hsl(143, 31%, 71%), hsl(143, 31%, 51%));

gradient dark

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

hex

background-color: #5BA979;

tailwind

bg-[hsl(143,31%,51%)]

box shadow

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

css variable

--color-primary: hsl(143, 31%, 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(143, 31%, 51%)?

HEX: #5BA979 | RGB: rgb(91, 169, 121) | CMYK: 46%, 0%, 28%, 34% | HSV: 143°, 46%, 66%. Copy any format from the conversion table above.

What colors go well with #5BA979?

The complementary color is HSL(323, 31%, 51%). For a triadic harmony, use hues 143°, 263°, and 23°. For analogous combinations, try hues 113° and 173°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(143, 31%, 51%) in CSS?

As HSL: color: hsl(143, 31%, 51%); — As HEX: color: #5BA979; — As RGB: color: rgb(91, 169, 121); — Tailwind CSS: bg-[hsl(143,31%,51%)] — CSS variable: --color-primary: hsl(143, 31%, 51%);