Hex Color #978F6F - Custom Color
Color Codes
HEX
#978F6F
RGB
rgb(151, 143, 111)
HSL
hsl(48, 16%, 51%)
CMYK
cmyk(0%, 5%, 26%, 41%)
HSV
hsv(48, 26%, 59%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.24:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.47: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: #978F6F;
color: #978F6F;
border-color: #978F6F;
}
Tailwind CSS (with arbitrary values)
bg-[#978F6F]
text-[#978F6F]
border-[#978F6F]
// Example usage:
<div className="bg-[#978F6F]">