Hex Color #EBCB62 - Custom Color
Color Codes
HEX
#EBCB62
RGB
rgb(235, 203, 98)
HSL
hsl(46, 77%, 65%)
CMYK
cmyk(0%, 14%, 58%, 8%)
HSV
hsv(46, 58%, 92%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.58:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.25: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: #EBCB62;
color: #EBCB62;
border-color: #EBCB62;
}
Tailwind CSS (with arbitrary values)
bg-[#EBCB62]
text-[#EBCB62]
border-[#EBCB62]
// Example usage:
<div className="bg-[#EBCB62]">