Hex Color #A3AF5C - Custom Color

Color Codes

HEX
#A3AF5C
RGB
rgb(163, 175, 92)
HSL
hsl(69, 34%, 52%)
CMYK
cmyk(7%, 0%, 47%, 31%)
HSV
hsv(69, 47%, 69%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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