Hex Color #FEF8BA - Custom Color
Color Codes
HEX
#FEF8BA
RGB
rgb(254, 248, 186)
HSL
hsl(55, 97%, 86%)
CMYK
cmyk(0%, 2%, 27%, 0%)
HSV
hsv(55, 27%, 100%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.09:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 19.35: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: #FEF8BA;
color: #FEF8BA;
border-color: #FEF8BA;
}
Tailwind CSS (with arbitrary values)
bg-[#FEF8BA]
text-[#FEF8BA]
border-[#FEF8BA]
// Example usage:
<div className="bg-[#FEF8BA]">