Hex Color #F0F0DB - Custom Color
Color Codes
HEX
#F0F0DB
RGB
rgb(240, 240, 219)
HSL
hsl(60, 41%, 90%)
CMYK
cmyk(0%, 0%, 9%, 6%)
HSV
hsv(60, 9%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.15:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 18.19: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: #F0F0DB;
color: #F0F0DB;
border-color: #F0F0DB;
}
Tailwind CSS (with arbitrary values)
bg-[#F0F0DB]
text-[#F0F0DB]
border-[#F0F0DB]
// Example usage:
<div className="bg-[#F0F0DB]">