Hex Color #A7BA5E - Custom Color
Color Codes
HEX
#A7BA5E
RGB
rgb(167, 186, 94)
HSL
hsl(72, 40%, 55%)
CMYK
cmyk(10%, 0%, 49%, 27%)
HSV
hsv(72, 49%, 73%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.14:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.83: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: #A7BA5E;
color: #A7BA5E;
border-color: #A7BA5E;
}
Tailwind CSS (with arbitrary values)
bg-[#A7BA5E]
text-[#A7BA5E]
border-[#A7BA5E]
// Example usage:
<div className="bg-[#A7BA5E]">