Hex Color #DFCC3F - Custom Color
Color Codes
HEX
#DFCC3F
RGB
rgb(223, 204, 63)
HSL
hsl(53, 71%, 56%)
CMYK
cmyk(0%, 9%, 72%, 13%)
HSV
hsv(53, 72%, 87%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.63:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.85: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: #DFCC3F;
color: #DFCC3F;
border-color: #DFCC3F;
}
Tailwind CSS (with arbitrary values)
bg-[#DFCC3F]
text-[#DFCC3F]
border-[#DFCC3F]
// Example usage:
<div className="bg-[#DFCC3F]">