Hex Color #A2C97A - Custom Color
Color Codes
HEX
#A2C97A
RGB
rgb(162, 201, 122)
HSL
hsl(90, 42%, 63%)
CMYK
cmyk(19%, 0%, 39%, 21%)
HSV
hsv(90, 39%, 79%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.88:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.17:1
Pass - WCAG AA (Normal Text)
Pass - WCAG AAA (Normal Text)
Recommended Text Color
For best readability on this background color, use black text.
Similar Colors
Color in Use
Card with colored border
Background with 20% opacity
CSS Code
.element {
background-color: #A2C97A;
color: #A2C97A;
border-color: #A2C97A;
}
Tailwind CSS (with arbitrary values)
bg-[#A2C97A]
text-[#A2C97A]
border-[#A2C97A]
// Example usage:
<div className="bg-[#A2C97A]">