Hex Color #E5B81B - Custom Color
Color Codes
HEX
#E5B81B
RGB
rgb(229, 184, 27)
HSL
hsl(47, 80%, 50%)
CMYK
cmyk(0%, 20%, 88%, 10%)
HSV
hsv(47, 88%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.87:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.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: #E5B81B;
color: #E5B81B;
border-color: #E5B81B;
}
Tailwind CSS (with arbitrary values)
bg-[#E5B81B]
text-[#E5B81B]
border-[#E5B81B]
// Example usage:
<div className="bg-[#E5B81B]">