Hex Color #A8CC1A - Custom Color
Color Codes
HEX
#A8CC1A
RGB
rgb(168, 204, 26)
HSL
hsl(72, 77%, 45%)
CMYK
cmyk(18%, 0%, 87%, 20%)
HSV
hsv(72, 87%, 80%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 1.86:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 11.32: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: #A8CC1A;
color: #A8CC1A;
border-color: #A8CC1A;
}
Tailwind CSS (with arbitrary values)
bg-[#A8CC1A]
text-[#A8CC1A]
border-[#A8CC1A]
// Example usage:
<div className="bg-[#A8CC1A]">