Hex Color #DEF8AA - Custom Color
Color Codes
HEX
#DEF8AA
RGB
rgb(222, 248, 170)
HSL
hsl(80, 85%, 82%)
CMYK
cmyk(10%, 0%, 31%, 3%)
HSV
hsv(80, 31%, 97%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.16:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 18.11: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: #DEF8AA;
color: #DEF8AA;
border-color: #DEF8AA;
}
Tailwind CSS (with arbitrary values)
bg-[#DEF8AA]
text-[#DEF8AA]
border-[#DEF8AA]
// Example usage:
<div className="bg-[#DEF8AA]">