Hex Color #ABAF2A - Custom Color
Color Codes
HEX
#ABAF2A
RGB
rgb(171, 175, 42)
HSL
hsl(62, 61%, 43%)
CMYK
cmyk(2%, 0%, 76%, 31%)
HSV
hsv(62, 76%, 69%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 2.36:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 8.90: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: #ABAF2A;
color: #ABAF2A;
border-color: #ABAF2A;
}
Tailwind CSS (with arbitrary values)
bg-[#ABAF2A]
text-[#ABAF2A]
border-[#ABAF2A]
// Example usage:
<div className="bg-[#ABAF2A]">