Hex Color #DEF22C - Custom Color
Color Codes
HEX
#DEF22C
RGB
rgb(222, 242, 44)
HSL
hsl(66, 88%, 56%)
CMYK
cmyk(8%, 0%, 82%, 5%)
HSV
hsv(66, 82%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.25:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.84: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: #DEF22C;
color: #DEF22C;
border-color: #DEF22C;
}
Tailwind CSS (with arbitrary values)
bg-[#DEF22C]
text-[#DEF22C]
border-[#DEF22C]
// Example usage:
<div className="bg-[#DEF22C]">