Hex Color #A8BA8A - Custom Color

Color Codes

HEX
#A8BA8A
RGB
rgb(168, 186, 138)
HSL
hsl(83, 26%, 64%)
CMYK
cmyk(10%, 0%, 26%, 27%)
HSV
hsv(83, 26%, 73%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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