Hex Color #FAFE68 - Custom Color
Color Codes
HEX
#FAFE68
RGB
rgb(250, 254, 104)
HSL
hsl(62, 99%, 70%)
CMYK
cmyk(2%, 0%, 59%, 0%)
HSV
hsv(62, 59%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.08:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 19.44: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: #FAFE68;
color: #FAFE68;
border-color: #FAFE68;
}
Tailwind CSS (with arbitrary values)
bg-[#FAFE68]
text-[#FAFE68]
border-[#FAFE68]
// Example usage:
<div className="bg-[#FAFE68]">