Hex Color #DEF5AF - Custom Color

Color Codes

HEX
#DEF5AF
RGB
rgb(222, 245, 175)
HSL
hsl(80, 78%, 82%)
CMYK
cmyk(9%, 0%, 29%, 4%)
HSV
hsv(80, 29%, 96%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 17.79:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use black text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #DEF5AF;
color: #DEF5AF;
border-color: #DEF5AF;
}

Tailwind CSS (with arbitrary values)

bg-[#DEF5AF]
text-[#DEF5AF]
border-[#DEF5AF]
// Example usage:
<div className="bg-[#DEF5AF]">