HSL(98, 40%, 85%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

bg-[hsl(98,40%,85%)]

Color Conversions

Format Value CSS Usage
HSL hsl(98, 40%, 85%) color: hsl(98, 40%, 85%)
HEX #D5E8C9 color: #D5E8C9
RGB rgb(213, 232, 201) color: rgb(213, 232, 201)
CMYK cmyk(8%, 0%, 13%, 9%)
HSV hsv(97, 13%, 91%)
HWB hwb(97 79% 9%) color: hwb(97 79% 9%)
OKLCH oklch(0.9086 0.0461 133.21) color: oklch(0.9086 0.0461 133.21)
Lab lab(89.89 -11.81 12.97) color: lab(89.89 -11.81 12.97)
LCH lch(89.89 17.54 132.32) color: lch(89.89 17.54 132.32)

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.3:1
vs Black 16.22: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)

#DDDDD1 — rgb(221, 221, 209)

Deuteranopia (Green-blind)

#DCDBD2 — rgb(220, 219, 210)

Tritanopia (Blue-blind)

#D6D6D8 — rgb(214, 214, 216)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(98, 40%, 85%);

text

color: hsl(98, 40%, 85%);

border

border: 2px solid hsl(98, 40%, 85%);

gradient light

background: linear-gradient(to right, hsl(98, 40%, 100%), hsl(98, 40%, 85%));

gradient dark

background: linear-gradient(to right, hsl(98, 40%, 85%), hsl(98, 40%, 65%))

hex

background-color: #D5E8C9;

tailwind

bg-[hsl(98,40%,85%)]

box shadow

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

css variable

--color-primary: hsl(98, 40%, 85%);

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(98, 40%, 85%)?

HEX: #D5E8C9 | RGB: rgb(213, 232, 201) | CMYK: 8%, 0%, 13%, 9% | HSV: 97°, 13%, 91%. Copy any format from the conversion table above.

What colors go well with #D5E8C9?

The complementary color is HSL(278, 40%, 85%). For a triadic harmony, use hues 98°, 218°, and 338°. For analogous combinations, try hues 68° and 128°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(98, 40%, 85%) in CSS?

As HSL: color: hsl(98, 40%, 85%); — As HEX: color: #D5E8C9; — As RGB: color: rgb(213, 232, 201); — Tailwind CSS: bg-[hsl(98,40%,85%)] — CSS variable: --color-primary: hsl(98, 40%, 85%);