Hex Color #796251 - Custom Color

Color Codes

HEX
#796251
RGB
rgb(121, 98, 81)
HSL
hsl(26, 20%, 40%)
CMYK
cmyk(0%, 19%, 33%, 53%)
HSV
hsv(26, 33%, 47%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.68:1
Fail - 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: #796251;
color: #796251;
border-color: #796251;
}

Tailwind CSS (with arbitrary values)

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