Hex Color #A1BF12 - Custom Color
Color Codes
HEX
#A1BF12
RGB
rgb(161, 191, 18)
HSL
hsl(70, 83%, 41%)
CMYK
cmyk(16%, 0%, 91%, 25%)
HSV
hsv(70, 91%, 75%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.10:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 9.98: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: #A1BF12;
color: #A1BF12;
border-color: #A1BF12;
}
Tailwind CSS (with arbitrary values)
bg-[#A1BF12]
text-[#A1BF12]
border-[#A1BF12]
// Example usage:
<div className="bg-[#A1BF12]">