Hex Color #F2D178 - Custom Color
Color Codes
HEX
#F2D178
RGB
rgb(242, 209, 120)
HSL
hsl(44, 82%, 71%)
CMYK
cmyk(0%, 14%, 50%, 5%)
HSV
hsv(44, 50%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.48:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 14.17: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: #F2D178;
color: #F2D178;
border-color: #F2D178;
}
Tailwind CSS (with arbitrary values)
bg-[#F2D178]
text-[#F2D178]
border-[#F2D178]
// Example usage:
<div className="bg-[#F2D178]">