Hex Color #ECEB4D - Custom Color
Color Codes
HEX
#ECEB4D
RGB
rgb(236, 235, 77)
HSL
hsl(60, 81%, 61%)
CMYK
cmyk(0%, 0%, 67%, 7%)
HSV
hsv(60, 67%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.27:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.56: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: #ECEB4D;
color: #ECEB4D;
border-color: #ECEB4D;
}
Tailwind CSS (with arbitrary values)
bg-[#ECEB4D]
text-[#ECEB4D]
border-[#ECEB4D]
// Example usage:
<div className="bg-[#ECEB4D]">