Hex Color #DAFC40 - Custom Color
Color Codes
HEX
#DAFC40
RGB
rgb(218, 252, 64)
HSL
hsl(71, 97%, 62%)
CMYK
cmyk(13%, 0%, 75%, 1%)
HSV
hsv(71, 75%, 99%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.17:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.98: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: #DAFC40;
color: #DAFC40;
border-color: #DAFC40;
}
Tailwind CSS (with arbitrary values)
bg-[#DAFC40]
text-[#DAFC40]
border-[#DAFC40]
// Example usage:
<div className="bg-[#DAFC40]">