Hex Color #EDAC28 - Custom Color
Color Codes
HEX
#EDAC28
RGB
rgb(237, 172, 40)
HSL
hsl(40, 85%, 54%)
CMYK
cmyk(0%, 27%, 83%, 7%)
HSV
hsv(40, 83%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.99:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.53:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use white text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #EDAC28;
color: #EDAC28;
border-color: #EDAC28;
}
Tailwind CSS (with arbitrary values)
bg-[#EDAC28]
text-[#EDAC28]
border-[#EDAC28]
// Example usage:
<div className="bg-[#EDAC28]">