Hex Color #AFC2AA - Custom Color

Color Codes

HEX
#AFC2AA
RGB
rgb(175, 194, 170)
HSL
hsl(107, 16%, 71%)
CMYK
cmyk(10%, 0%, 12%, 24%)
HSV
hsv(107, 12%, 76%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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