HSL(87, 38%, 66%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,38%,66%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 38%, 66%) color: hsl(87, 38%, 66%)
HEX #ACC987 color: #ACC987
RGB rgb(172, 201, 135) color: rgb(172, 201, 135)
CMYK cmyk(14%, 0%, 33%, 21%)
HSV hsv(86, 33%, 79%)
HWB hwb(86 53% 21%) color: hwb(86 53% 21%)
OKLCH oklch(0.7982 0.0941 127.67) color: oklch(0.7982 0.0941 127.67)
Lab lab(77.46 -21.17 29.87) color: lab(77.46 -21.17 29.87)
LCH lch(77.46 36.61 125.33) color: lch(77.46 36.61 125.33)

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.83:1
vs Black 11.46: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)

#B9B997 — rgb(185, 185, 151)

Deuteranopia (Green-blind)

#B7B59B — rgb(183, 181, 155)

Tritanopia (Blue-blind)

#ADA4A6 — rgb(173, 164, 166)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 38%, 66%);

text

color: hsl(87, 38%, 66%);

border

border: 2px solid hsl(87, 38%, 66%);

gradient light

background: linear-gradient(to right, hsl(87, 38%, 86%), hsl(87, 38%, 66%));

gradient dark

background: linear-gradient(to right, hsl(87, 38%, 66%), hsl(87, 38%, 46%))

hex

background-color: #ACC987;

tailwind

bg-[hsl(87,38%,66%)]

box shadow

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

css variable

--color-primary: hsl(87, 38%, 66%);

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, 38%, 66%)?

HEX: #ACC987 | RGB: rgb(172, 201, 135) | CMYK: 14%, 0%, 33%, 21% | HSV: 86°, 33%, 79%. Copy any format from the conversion table above.

What colors go well with #ACC987?

The complementary color is HSL(267, 38%, 66%). 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, 38%, 66%) in CSS?

As HSL: color: hsl(87, 38%, 66%); — As HEX: color: #ACC987; — As RGB: color: rgb(172, 201, 135); — Tailwind CSS: bg-[hsl(87,38%,66%)] — CSS variable: --color-primary: hsl(87, 38%, 66%);