Hex Color #978B4E - Custom Color

Color Codes

HEX
#978B4E
RGB
rgb(151, 139, 78)
HSL
hsl(50, 32%, 45%)
CMYK
cmyk(0%, 8%, 48%, 41%)
HSV
hsv(50, 48%, 59%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 6.12: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: #978B4E;
color: #978B4E;
border-color: #978B4E;
}

Tailwind CSS (with arbitrary values)

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