Hex Color #DCD060 - Custom Color
Color Codes
HEX
#DCD060
RGB
rgb(220, 208, 96)
HSL
hsl(54, 64%, 62%)
CMYK
cmyk(0%, 5%, 56%, 14%)
HSV
hsv(54, 56%, 86%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.59:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.23: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: #DCD060;
color: #DCD060;
border-color: #DCD060;
}
Tailwind CSS (with arbitrary values)
bg-[#DCD060]
text-[#DCD060]
border-[#DCD060]
// Example usage:
<div className="bg-[#DCD060]">