Hex Color #EAE246 - Custom Color
Color Codes
HEX
#EAE246
RGB
rgb(234, 226, 70)
HSL
hsl(57, 80%, 60%)
CMYK
cmyk(0%, 3%, 70%, 8%)
HSV
hsv(57, 70%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.47: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: #EAE246;
color: #EAE246;
border-color: #EAE246;
}
Tailwind CSS (with arbitrary values)
bg-[#EAE246]
text-[#EAE246]
border-[#EAE246]
// Example usage:
<div className="bg-[#EAE246]">