HSL(98, 40%, 79%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

5000K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(98, 40%, 79%) color: hsl(98, 40%, 79%)
HEX #C4DFB4 color: #C4DFB4
RGB rgb(196, 223, 180) color: rgb(196, 223, 180)
CMYK cmyk(12%, 0%, 19%, 13%)
HSV hsv(98, 19%, 87%)
HWB hwb(98 70% 13%) color: hwb(98 70% 13%)
OKLCH oklch(0.8725 0.0646 133.91) color: oklch(0.8725 0.0646 133.91)
Lab lab(85.91 -16.66 18.15) color: lab(85.91 -16.66 18.15)
LCH lch(85.91 24.64 132.55) color: lch(85.91 24.64 132.55)

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.44:1
vs Black 14.56: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)

#D0D0BE — rgb(208, 208, 190)

Deuteranopia (Green-blind)

#CECCC1 — rgb(206, 204, 193)

Tritanopia (Blue-blind)

#C5C7C8 — rgb(197, 199, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #C4DFB4;

tailwind

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

box shadow

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

css variable

--color-primary: hsl(98, 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(98, 40%, 79%)?

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

What colors go well with #C4DFB4?

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

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