Hex Color #E6B521 - Custom Color
Color Codes
HEX
#E6B521
RGB
rgb(230, 181, 33)
HSL
hsl(45, 80%, 52%)
CMYK
cmyk(0%, 21%, 86%, 10%)
HSV
hsv(45, 86%, 90%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.91:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.00: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: #E6B521;
color: #E6B521;
border-color: #E6B521;
}
Tailwind CSS (with arbitrary values)
bg-[#E6B521]
text-[#E6B521]
border-[#E6B521]
// Example usage:
<div className="bg-[#E6B521]">