Hex Color #DAE451 - Custom Color
Color Codes
HEX
#DAE451
RGB
rgb(218, 228, 81)
HSL
hsl(64, 73%, 61%)
CMYK
cmyk(4%, 0%, 64%, 11%)
HSV
hsv(64, 64%, 89%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.38:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.20: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: #DAE451;
color: #DAE451;
border-color: #DAE451;
}
Tailwind CSS (with arbitrary values)
bg-[#DAE451]
text-[#DAE451]
border-[#DAE451]
// Example usage:
<div className="bg-[#DAE451]">