Hex Color #9D937F - Custom Color
Color Codes
HEX
#9D937F
RGB
rgb(157, 147, 127)
HSL
hsl(40, 13%, 56%)
CMYK
cmyk(0%, 6%, 19%, 38%)
HSV
hsv(40, 19%, 62%)
Color Name
Custom Color
Color Variations
Color Harmonies
Accessibility
WCAG Contrast Ratios
Text on White Background
Sample Text
Contrast Ratio: 3.04:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)
Text on Black Background
Sample Text
Contrast Ratio: 6.91: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: #9D937F;
color: #9D937F;
border-color: #9D937F;
}
Tailwind CSS (with arbitrary values)
bg-[#9D937F]
text-[#9D937F]
border-[#9D937F]
// Example usage:
<div className="bg-[#9D937F]">