Hex Color #A2B30C - Custom Color

Color Codes

HEX
#A2B30C
RGB
rgb(162, 179, 12)
HSL
hsl(66, 87%, 37%)
CMYK
cmyk(9%, 0%, 93%, 30%)
HSV
hsv(66, 93%, 70%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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