Hex Color #F0DCAE - Custom Color
Color Codes
HEX
#F0DCAE
RGB
rgb(240, 220, 174)
HSL
hsl(42, 69%, 81%)
CMYK
cmyk(0%, 8%, 27%, 6%)
HSV
hsv(42, 27%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 15.55: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: #F0DCAE;
color: #F0DCAE;
border-color: #F0DCAE;
}
Tailwind CSS (with arbitrary values)
bg-[#F0DCAE]
text-[#F0DCAE]
border-[#F0DCAE]
// Example usage:
<div className="bg-[#F0DCAE]">