Hex Color #D2CB65 - Custom Color
Color Codes
HEX
#D2CB65
RGB
rgb(210, 203, 101)
HSL
hsl(56, 55%, 61%)
CMYK
cmyk(0%, 3%, 52%, 18%)
HSV
hsv(56, 52%, 82%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.68:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.47: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: #D2CB65;
color: #D2CB65;
border-color: #D2CB65;
}
Tailwind CSS (with arbitrary values)
bg-[#D2CB65]
text-[#D2CB65]
border-[#D2CB65]
// Example usage:
<div className="bg-[#D2CB65]">