HSL(87, 40%, 79%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(87,40%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(87, 40%, 79%) color: hsl(87, 40%, 79%)
HEX #CCDFB4 color: #CCDFB4
RGB rgb(204, 223, 180) color: rgb(204, 223, 180)
CMYK cmyk(9%, 0%, 19%, 13%)
HSV hsv(87, 19%, 87%)
HWB hwb(87 70% 13%) color: hwb(87 70% 13%)
OKLCH oklch(0.8783 0.061 127.03) color: oklch(0.8783 0.061 127.03)
Lab lab(86.46 -13.84 18.99) color: lab(86.46 -13.84 18.99)
LCH lch(86.46 23.5 126.08) color: lch(86.46 23.5 126.08)

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.42:1
vs Black 14.78: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)

#D4D4BE — rgb(212, 212, 190)

Deuteranopia (Green-blind)

#D3D2C1 — rgb(211, 210, 193)

Tritanopia (Blue-blind)

#CDC7C8 — rgb(205, 199, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(87, 40%, 79%);

text

color: hsl(87, 40%, 79%);

border

border: 2px solid hsl(87, 40%, 79%);

gradient light

background: linear-gradient(to right, hsl(87, 40%, 99%), hsl(87, 40%, 79%));

gradient dark

background: linear-gradient(to right, hsl(87, 40%, 79%), hsl(87, 40%, 59%))

hex

background-color: #CCDFB4;

tailwind

bg-[hsl(87,40%,79%)]

box shadow

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

css variable

--color-primary: hsl(87, 40%, 79%);

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, 40%, 79%)?

HEX: #CCDFB4 | RGB: rgb(204, 223, 180) | CMYK: 9%, 0%, 19%, 13% | HSV: 87°, 19%, 87%. Copy any format from the conversion table above.

What colors go well with #CCDFB4?

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

As HSL: color: hsl(87, 40%, 79%); — As HEX: color: #CCDFB4; — As RGB: color: rgb(204, 223, 180); — Tailwind CSS: bg-[hsl(87,40%,79%)] — CSS variable: --color-primary: hsl(87, 40%, 79%);