Hex Color #AFFCE2 - Custom Color
Color Codes
HEX
#AFFCE2
RGB
rgb(175, 252, 226)
HSL
hsl(160, 93%, 84%)
CMYK
cmyk(31%, 0%, 10%, 1%)
HSV
hsv(160, 31%, 99%)
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: #AFFCE2;
color: #AFFCE2;
border-color: #AFFCE2;
}
Tailwind CSS (with arbitrary values)
bg-[#AFFCE2]
text-[#AFFCE2]
border-[#AFFCE2]
// Example usage:
<div className="bg-[#AFFCE2]">