HSL(77, 74%, 81%)

Green — Green color

Adjust Color

Color Information

Color Name

Green

Color Family

Green

Warm / Cool

🔵 Cool

Temperature

3500K

CSS Class

bg-[hsl(77,74%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(77, 74%, 81%) color: hsl(77, 74%, 81%)
HEX #DEF2AB color: #DEF2AB
RGB rgb(222, 242, 171) color: rgb(222, 242, 171)
CMYK cmyk(8%, 0%, 29%, 5%)
HSV hsv(77, 29%, 95%)
HWB hwb(77 67% 5%) color: hwb(77 67% 5%)
OKLCH oklch(0.9295 0.0941 121.03) color: oklch(0.9295 0.0941 121.03)
Lab lab(92.56 -18.08 32.17) color: lab(92.56 -18.08 32.17)
LCH lch(92.56 36.9 119.34) color: lch(92.56 36.9 119.34)

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.21:1
vs Black 17.39: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)

#E7E7BC — rgb(231, 231, 188)

Deuteranopia (Green-blind)

#E6E4C0 — rgb(230, 228, 192)

Tritanopia (Blue-blind)

#DFCACD — rgb(223, 202, 205)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(77, 74%, 81%);

text

color: hsl(77, 74%, 81%);

border

border: 2px solid hsl(77, 74%, 81%);

gradient light

background: linear-gradient(to right, hsl(77, 74%, 100%), hsl(77, 74%, 81%));

gradient dark

background: linear-gradient(to right, hsl(77, 74%, 81%), hsl(77, 74%, 61%))

hex

background-color: #DEF2AB;

tailwind

bg-[hsl(77,74%,81%)]

box shadow

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

css variable

--color-primary: hsl(77, 74%, 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(77, 74%, 81%)?

HEX: #DEF2AB | RGB: rgb(222, 242, 171) | CMYK: 8%, 0%, 29%, 5% | HSV: 77°, 29%, 95%. Copy any format from the conversion table above.

What colors go well with #DEF2AB?

The complementary color is HSL(257, 74%, 81%). For a triadic harmony, use hues 77°, 197°, and 317°. For analogous combinations, try hues 47° and 107°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(77, 74%, 81%) in CSS?

As HSL: color: hsl(77, 74%, 81%); — As HEX: color: #DEF2AB; — As RGB: color: rgb(222, 242, 171); — Tailwind CSS: bg-[hsl(77,74%,81%)] — CSS variable: --color-primary: hsl(77, 74%, 81%);