Hex Color #AFEAB7 - Custom Color

Color Codes

HEX
#AFEAB7
RGB
rgb(175, 234, 183)
HSL
hsl(128, 58%, 80%)
CMYK
cmyk(25%, 0%, 22%, 8%)
HSV
hsv(128, 25%, 92%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 1.37:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 15.28: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: #AFEAB7;
color: #AFEAB7;
border-color: #AFEAB7;
}

Tailwind CSS (with arbitrary values)

bg-[#AFEAB7]
text-[#AFEAB7]
border-[#AFEAB7]
// Example usage:
<div className="bg-[#AFEAB7]">