Hex Color #ECEA32 - Custom Color
Color Codes
HEX
#ECEA32
RGB
rgb(236, 234, 50)
HSL
hsl(59, 83%, 56%)
CMYK
cmyk(0%, 1%, 79%, 7%)
HSV
hsv(59, 79%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.28:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.38: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: #ECEA32;
color: #ECEA32;
border-color: #ECEA32;
}
Tailwind CSS (with arbitrary values)
bg-[#ECEA32]
text-[#ECEA32]
border-[#ECEA32]
// Example usage:
<div className="bg-[#ECEA32]">