Hex Color #EDB81F - Custom Color
Color Codes
HEX
#EDB81F
RGB
rgb(237, 184, 31)
HSL
hsl(45, 85%, 53%)
CMYK
cmyk(0%, 22%, 87%, 7%)
HSV
hsv(45, 87%, 93%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.83:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.48: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: #EDB81F;
color: #EDB81F;
border-color: #EDB81F;
}
Tailwind CSS (with arbitrary values)
bg-[#EDB81F]
text-[#EDB81F]
border-[#EDB81F]
// Example usage:
<div className="bg-[#EDB81F]">