Hex Color #E9AB31 - Custom Color
Color Codes
HEX
#E9AB31
RGB
rgb(233, 171, 49)
HSL
hsl(40, 81%, 55%)
CMYK
cmyk(0%, 27%, 79%, 9%)
HSV
hsv(40, 79%, 91%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.33:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #E9AB31;
color: #E9AB31;
border-color: #E9AB31;
}
Tailwind CSS (with arbitrary values)
bg-[#E9AB31]
text-[#E9AB31]
border-[#E9AB31]
// Example usage:
<div className="bg-[#E9AB31]">