Hex Color #D9C8AB - Custom Color
Color Codes
HEX
#D9C8AB
RGB
rgb(217, 200, 171)
HSL
hsl(38, 38%, 76%)
CMYK
cmyk(0%, 8%, 21%, 15%)
HSV
hsv(38, 21%, 85%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.64:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 12.80: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: #D9C8AB;
color: #D9C8AB;
border-color: #D9C8AB;
}
Tailwind CSS (with arbitrary values)
bg-[#D9C8AB]
text-[#D9C8AB]
border-[#D9C8AB]
// Example usage:
<div className="bg-[#D9C8AB]">