Hex Color #A2BF5A - Custom Color

Color Codes

HEX
#A2BF5A
RGB
rgb(162, 191, 90)
HSL
hsl(77, 44%, 55%)
CMYK
cmyk(15%, 0%, 53%, 25%)
HSV
hsv(77, 53%, 75%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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