Hex Color #F0C98A - Custom Color
Color Codes
HEX
#F0C98A
RGB
rgb(240, 201, 138)
HSL
hsl(37, 77%, 74%)
CMYK
cmyk(0%, 16%, 43%, 6%)
HSV
hsv(37, 43%, 94%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.56:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 13.43: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: #F0C98A;
color: #F0C98A;
border-color: #F0C98A;
}
Tailwind CSS (with arbitrary values)
bg-[#F0C98A]
text-[#F0C98A]
border-[#F0C98A]
// Example usage:
<div className="bg-[#F0C98A]">