HSL(89, 80%, 31%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(89,80%,31%)]

Color Conversions

Format Value CSS Usage
HSL hsl(89, 80%, 31%) color: hsl(89, 80%, 31%)
HEX #518E10 color: #518E10
RGB rgb(81, 142, 16) color: rgb(81, 142, 16)
CMYK cmyk(43%, 0%, 89%, 44%)
HSV hsv(89, 89%, 56%)
HWB hwb(89 6% 44%) color: hwb(89 6% 44%)
OKLCH oklch(0.5826 0.1602 133.6) color: oklch(0.5826 0.1602 133.6)
Lab lab(53.09 -39.15 53.34) color: lab(53.09 -39.15 53.34)
LCH lch(53.09 66.17 126.28) color: lch(53.09 66.17 126.28)

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 4.02:1
vs Black 5.23:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#6B6C2E — rgb(107, 108, 46)

Deuteranopia (Green-blind)

#686336 — rgb(104, 99, 54)

Tritanopia (Blue-blind)

#54474C — rgb(84, 71, 76)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(89, 80%, 31%);

text

color: hsl(89, 80%, 31%);

border

border: 2px solid hsl(89, 80%, 31%);

gradient light

background: linear-gradient(to right, hsl(89, 80%, 51%), hsl(89, 80%, 31%));

gradient dark

background: linear-gradient(to right, hsl(89, 80%, 31%), hsl(89, 80%, 11%))

hex

background-color: #518E10;

tailwind

bg-[hsl(89,80%,31%)]

box shadow

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

css variable

--color-primary: hsl(89, 80%, 31%);

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(89, 80%, 31%)?

HEX: #518E10 | RGB: rgb(81, 142, 16) | CMYK: 43%, 0%, 89%, 44% | HSV: 89°, 89%, 56%. Copy any format from the conversion table above.

What colors go well with #518E10?

The complementary color is HSL(269, 80%, 31%). For a triadic harmony, use hues 89°, 209°, and 329°. For analogous combinations, try hues 59° and 119°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(89, 80%, 31%) in CSS?

As HSL: color: hsl(89, 80%, 31%); — As HEX: color: #518E10; — As RGB: color: rgb(81, 142, 16); — Tailwind CSS: bg-[hsl(89,80%,31%)] — CSS variable: --color-primary: hsl(89, 80%, 31%);