Hex Color #DEFFAC - Custom Color

Color Codes

HEX
#DEFFAC
RGB
rgb(222, 255, 172)
HSL
hsl(84, 100%, 84%)
CMYK
cmyk(13%, 0%, 33%, 0%)
HSV
hsv(84, 33%, 100%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 19.01: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: #DEFFAC;
color: #DEFFAC;
border-color: #DEFFAC;
}

Tailwind CSS (with arbitrary values)

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