Hex Color #DEF482 - Custom Color
Color Codes
HEX
#DEF482
RGB
rgb(222, 244, 130)
HSL
hsl(72, 84%, 73%)
CMYK
cmyk(9%, 0%, 47%, 4%)
HSV
hsv(72, 47%, 96%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.21:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.37: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: #DEF482;
color: #DEF482;
border-color: #DEF482;
}
Tailwind CSS (with arbitrary values)
bg-[#DEF482]
text-[#DEF482]
border-[#DEF482]
// Example usage:
<div className="bg-[#DEF482]">