HSL(79, 20%, 81%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(79,20%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(79, 20%, 81%) color: hsl(79, 20%, 81%)
HEX #D2D8C5 color: #D2D8C5
RGB rgb(210, 216, 197) color: rgb(210, 216, 197)
CMYK cmyk(3%, 0%, 9%, 15%)
HSV hsv(79, 9%, 85%)
HWB hwb(79 77% 15%) color: hwb(79 77% 15%)
OKLCH oklch(0.8724 0.0264 121.23) color: oklch(0.8724 0.0264 121.23)
Lab lab(85.43 -5.39 8.67) color: lab(85.43 -5.39 8.67)
LCH lch(85.43 10.21 121.87) color: lch(85.43 10.21 121.87)

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.46:1
vs Black 14.37: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)

#D5D5CA — rgb(213, 213, 202)

Deuteranopia (Green-blind)

#D4D4CB — rgb(212, 212, 203)

Tritanopia (Blue-blind)

#D2CDCE — rgb(210, 205, 206)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(79, 20%, 81%);

text

color: hsl(79, 20%, 81%);

border

border: 2px solid hsl(79, 20%, 81%);

gradient light

background: linear-gradient(to right, hsl(79, 20%, 100%), hsl(79, 20%, 81%));

gradient dark

background: linear-gradient(to right, hsl(79, 20%, 81%), hsl(79, 20%, 61%))

hex

background-color: #D2D8C5;

tailwind

bg-[hsl(79,20%,81%)]

box shadow

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

css variable

--color-primary: hsl(79, 20%, 81%);

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(79, 20%, 81%)?

HEX: #D2D8C5 | RGB: rgb(210, 216, 197) | CMYK: 3%, 0%, 9%, 15% | HSV: 79°, 9%, 85%. Copy any format from the conversion table above.

What colors go well with #D2D8C5?

The complementary color is HSL(259, 20%, 81%). For a triadic harmony, use hues 79°, 199°, and 319°. For analogous combinations, try hues 49° and 109°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(79, 20%, 81%) in CSS?

As HSL: color: hsl(79, 20%, 81%); — As HEX: color: #D2D8C5; — As RGB: color: rgb(210, 216, 197); — Tailwind CSS: bg-[hsl(79,20%,81%)] — CSS variable: --color-primary: hsl(79, 20%, 81%);