Hex Color #DAF1C8 - Custom Color
Color Codes
HEX
#DAF1C8
RGB
rgb(218, 241, 200)
HSL
hsl(94, 59%, 86%)
CMYK
cmyk(10%, 0%, 17%, 5%)
HSV
hsv(94, 17%, 95%)
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.40: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: #DAF1C8;
color: #DAF1C8;
border-color: #DAF1C8;
}
Tailwind CSS (with arbitrary values)
bg-[#DAF1C8]
text-[#DAF1C8]
border-[#DAF1C8]
// Example usage:
<div className="bg-[#DAF1C8]">