Hex Color #E8ED5B - Custom Color
Color Codes
HEX
#E8ED5B
RGB
rgb(232, 237, 91)
HSL
hsl(62, 80%, 64%)
CMYK
cmyk(2%, 0%, 62%, 7%)
HSV
hsv(62, 62%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.26:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.70: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: #E8ED5B;
color: #E8ED5B;
border-color: #E8ED5B;
}
Tailwind CSS (with arbitrary values)
bg-[#E8ED5B]
text-[#E8ED5B]
border-[#E8ED5B]
// Example usage:
<div className="bg-[#E8ED5B]">