Hex Color #DEB02A - Custom Color
Color Codes
HEX
#DEB02A
RGB
rgb(222, 176, 42)
HSL
hsl(45, 73%, 52%)
CMYK
cmyk(0%, 21%, 81%, 13%)
HSV
hsv(45, 81%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 10.35: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: #DEB02A;
color: #DEB02A;
border-color: #DEB02A;
}
Tailwind CSS (with arbitrary values)
bg-[#DEB02A]
text-[#DEB02A]
border-[#DEB02A]
// Example usage:
<div className="bg-[#DEB02A]">