HSL(87, 50%, 60%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,50%,60%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 50%, 60%) color: hsl(87, 50%, 60%)
HEX #9ECC66 color: #9ECC66
RGB rgb(158, 204, 102) color: rgb(158, 204, 102)
CMYK cmyk(23%, 0%, 50%, 20%)
HSV hsv(87, 50%, 80%)
HWB hwb(87 40% 20%) color: hwb(87 40% 20%)
OKLCH oklch(0.7901 0.1406 129.19) color: oklch(0.7901 0.1406 129.19)
Lab lab(76.93 -31.92 45.62) color: lab(76.93 -31.92 45.62)
LCH lch(76.93 55.68 124.98) color: lch(76.93 55.68 124.98)

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.86:1
vs Black 11.28: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)

#B2B27F — rgb(178, 178, 127)

Deuteranopia (Green-blind)

#AFAC85 — rgb(175, 172, 133)

Tritanopia (Blue-blind)

#A09296 — rgb(160, 146, 150)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 50%, 60%);

text

color: hsl(87, 50%, 60%);

border

border: 2px solid hsl(87, 50%, 60%);

gradient light

background: linear-gradient(to right, hsl(87, 50%, 80%), hsl(87, 50%, 60%));

gradient dark

background: linear-gradient(to right, hsl(87, 50%, 60%), hsl(87, 50%, 40%))

hex

background-color: #9ECC66;

tailwind

bg-[hsl(87,50%,60%)]

box shadow

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

css variable

--color-primary: hsl(87, 50%, 60%);

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(87, 50%, 60%)?

HEX: #9ECC66 | RGB: rgb(158, 204, 102) | CMYK: 23%, 0%, 50%, 20% | HSV: 87°, 50%, 80%. Copy any format from the conversion table above.

What colors go well with #9ECC66?

The complementary color is HSL(267, 50%, 60%). For a triadic harmony, use hues 87°, 207°, and 327°. For analogous combinations, try hues 57° and 117°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(87, 50%, 60%) in CSS?

As HSL: color: hsl(87, 50%, 60%); — As HEX: color: #9ECC66; — As RGB: color: rgb(158, 204, 102); — Tailwind CSS: bg-[hsl(87,50%,60%)] — CSS variable: --color-primary: hsl(87, 50%, 60%);