Hex Color #A5AB9C - Custom Color
Color Codes
HEX
#A5AB9C
RGB
rgb(165, 171, 156)
HSL
hsl(84, 8%, 64%)
CMYK
cmyk(4%, 0%, 9%, 33%)
HSV
hsv(84, 9%, 67%)
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.91: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: #A5AB9C;
color: #A5AB9C;
border-color: #A5AB9C;
}
Tailwind CSS (with arbitrary values)
bg-[#A5AB9C]
text-[#A5AB9C]
border-[#A5AB9C]
// Example usage:
<div className="bg-[#A5AB9C]">