Hex Color #AFF2BC - Custom Color
Color Codes
HEX
#AFF2BC
RGB
rgb(175, 242, 188)
HSL
hsl(132, 72%, 82%)
CMYK
cmyk(28%, 0%, 22%, 5%)
HSV
hsv(132, 28%, 95%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.29:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 16.25: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: #AFF2BC;
color: #AFF2BC;
border-color: #AFF2BC;
}
Tailwind CSS (with arbitrary values)
bg-[#AFF2BC]
text-[#AFF2BC]
border-[#AFF2BC]
// Example usage:
<div className="bg-[#AFF2BC]">