Hex Color #AFB089 - Custom Color

Color Codes

HEX
#AFB089
RGB
rgb(175, 176, 137)
HSL
hsl(62, 20%, 61%)
CMYK
cmyk(1%, 0%, 22%, 31%)
HSV
hsv(62, 22%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 9.39:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)

Recommended Text Color

For best readability on this background color, use white text.

Similar Colors

Color in Use

Card with colored border

Background with 20% opacity

CSS Code

.element {
background-color: #AFB089;
color: #AFB089;
border-color: #AFB089;
}

Tailwind CSS (with arbitrary values)

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