Hex Color #DFE062 - Custom Color
Color Codes
HEX
#DFE062
RGB
rgb(223, 224, 98)
HSL
hsl(60, 67%, 63%)
CMYK
cmyk(0%, 0%, 56%, 12%)
HSV
hsv(60, 56%, 88%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.40:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.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: #DFE062;
color: #DFE062;
border-color: #DFE062;
}
Tailwind CSS (with arbitrary values)
bg-[#DFE062]
text-[#DFE062]
border-[#DFE062]
// Example usage:
<div className="bg-[#DFE062]">