Hex Color #DC9820 - Custom Color
Color Codes
HEX
#DC9820
RGB
rgb(220, 152, 32)
HSL
hsl(38, 75%, 49%)
CMYK
cmyk(0%, 31%, 85%, 14%)
HSV
hsv(38, 85%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.45:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.56: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: #DC9820;
color: #DC9820;
border-color: #DC9820;
}
Tailwind CSS (with arbitrary values)
bg-[#DC9820]
text-[#DC9820]
border-[#DC9820]
// Example usage:
<div className="bg-[#DC9820]">