Hex Color #2AAB1A - Custom Color
Color Codes
HEX
#2AAB1A
RGB
rgb(42, 171, 26)
HSL
hsl(113, 74%, 39%)
CMYK
cmyk(75%, 0%, 85%, 33%)
HSV
hsv(113, 85%, 67%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.03:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.94:1
Pass - WCAG AA (Normal Text)
Fail - 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: #2AAB1A;
color: #2AAB1A;
border-color: #2AAB1A;
}
Tailwind CSS (with arbitrary values)
bg-[#2AAB1A]
text-[#2AAB1A]
border-[#2AAB1A]
// Example usage:
<div className="bg-[#2AAB1A]">