Hex Color #D1F8BA - Custom Color
Color Codes
HEX
#D1F8BA
RGB
rgb(209, 248, 186)
HSL
hsl(98, 82%, 85%)
CMYK
cmyk(16%, 0%, 25%, 3%)
HSV
hsv(98, 25%, 97%)
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.85: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: #D1F8BA;
color: #D1F8BA;
border-color: #D1F8BA;
}
Tailwind CSS (with arbitrary values)
bg-[#D1F8BA]
text-[#D1F8BA]
border-[#D1F8BA]
// Example usage:
<div className="bg-[#D1F8BA]">