Hex Color #FAF07C - Custom Color
Color Codes
HEX
#FAF07C
RGB
rgb(250, 240, 124)
HSL
hsl(55, 93%, 73%)
CMYK
cmyk(0%, 4%, 50%, 2%)
HSV
hsv(55, 50%, 98%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.18:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 17.82: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: #FAF07C;
color: #FAF07C;
border-color: #FAF07C;
}
Tailwind CSS (with arbitrary values)
bg-[#FAF07C]
text-[#FAF07C]
border-[#FAF07C]
// Example usage:
<div className="bg-[#FAF07C]">