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