Hex Color #DFB74C - Custom Color
Color Codes
HEX
#DFB74C
RGB
rgb(223, 183, 76)
HSL
hsl(44, 70%, 59%)
CMYK
cmyk(0%, 18%, 66%, 13%)
HSV
hsv(44, 66%, 87%)
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.02: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: #DFB74C;
color: #DFB74C;
border-color: #DFB74C;
}
Tailwind CSS (with arbitrary values)
bg-[#DFB74C]
text-[#DFB74C]
border-[#DFB74C]
// Example usage:
<div className="bg-[#DFB74C]">