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