Hex Color #AFB084 - Custom Color

Color Codes

HEX
#AFB084
RGB
rgb(175, 176, 132)
HSL
hsl(61, 22%, 60%)
CMYK
cmyk(1%, 0%, 25%, 31%)
HSV
hsv(61, 25%, 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.37: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: #AFB084;
color: #AFB084;
border-color: #AFB084;
}

Tailwind CSS (with arbitrary values)

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