Hex Color #97942E - Custom Color

Color Codes

HEX
#97942E
RGB
rgb(151, 148, 46)
HSL
hsl(58, 53%, 39%)
CMYK
cmyk(0%, 2%, 70%, 41%)
HSV
hsv(58, 70%, 59%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

Contrast Ratio: 3.19:1
Fail - WCAG AA (Normal Text)
Fail - WCAG AAA (Normal Text)

Text on Black Background

Sample Text

Contrast Ratio: 6.59: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: #97942E;
color: #97942E;
border-color: #97942E;
}

Tailwind CSS (with arbitrary values)

bg-[#97942E]
text-[#97942E]
border-[#97942E]
// Example usage:
<div className="bg-[#97942E]">