Hex Color #998797 - Custom Color
Color Codes
HEX
#998797
RGB
rgb(153, 135, 151)
HSL
hsl(307, 8%, 56%)
CMYK
cmyk(0%, 12%, 1%, 40%)
HSV
hsv(307, 12%, 60%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.35:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.27: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: #998797;
color: #998797;
border-color: #998797;
}
Tailwind CSS (with arbitrary values)
bg-[#998797]
text-[#998797]
border-[#998797]
// Example usage:
<div className="bg-[#998797]">