HSL(140, 31%, 50%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(140,31%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(140, 31%, 50%) color: hsl(140, 31%, 50%)
HEX #58A772 color: #58A772
RGB rgb(88, 167, 114) color: rgb(88, 167, 114)
CMYK cmyk(47%, 0%, 32%, 35%)
HSV hsv(140, 47%, 65%)
HWB hwb(140 34% 35%) color: hwb(140 34% 35%)
OKLCH oklch(0.6635 0.1116 152.95) color: oklch(0.6635 0.1116 152.95)
Lab lab(62.44 -36.43 20.09) color: lab(62.44 -36.43 20.09)
LCH lch(62.44 41.6 151.12) color: lch(62.44 41.6 151.12)

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.92:1
vs Black 7.19: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)

#7A7B7F — rgb(122, 123, 127)

Deuteranopia (Green-blind)

#767082 — rgb(118, 112, 130)

Tritanopia (Blue-blind)

#5C898B — rgb(92, 137, 139)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(140, 31%, 50%);

text

color: hsl(140, 31%, 50%);

border

border: 2px solid hsl(140, 31%, 50%);

gradient light

background: linear-gradient(to right, hsl(140, 31%, 70%), hsl(140, 31%, 50%));

gradient dark

background: linear-gradient(to right, hsl(140, 31%, 50%), hsl(140, 31%, 30%))

hex

background-color: #58A772;

tailwind

bg-[hsl(140,31%,50%)]

box shadow

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

css variable

--color-primary: hsl(140, 31%, 50%);

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(140, 31%, 50%)?

HEX: #58A772 | RGB: rgb(88, 167, 114) | CMYK: 47%, 0%, 32%, 35% | HSV: 140°, 47%, 65%. Copy any format from the conversion table above.

What colors go well with #58A772?

The complementary color is HSL(320, 31%, 50%). For a triadic harmony, use hues 140°, 260°, and 20°. For analogous combinations, try hues 110° and 170°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(140, 31%, 50%) in CSS?

As HSL: color: hsl(140, 31%, 50%); — As HEX: color: #58A772; — As RGB: color: rgb(88, 167, 114); — Tailwind CSS: bg-[hsl(140,31%,50%)] — CSS variable: --color-primary: hsl(140, 31%, 50%);