Hex Color #F1F8DF - Custom Color
Color Codes
HEX
#F1F8DF
RGB
rgb(241, 248, 223)
HSL
hsl(77, 64%, 92%)
CMYK
cmyk(3%, 0%, 10%, 3%)
HSV
hsv(77, 10%, 97%)
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.23: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: #F1F8DF;
color: #F1F8DF;
border-color: #F1F8DF;
}
Tailwind CSS (with arbitrary values)
bg-[#F1F8DF]
text-[#F1F8DF]
border-[#F1F8DF]
// Example usage:
<div className="bg-[#F1F8DF]">