Hex Color #796074 - Custom Color

Color Codes

HEX
#796074
RGB
rgb(121, 96, 116)
HSL
hsl(312, 12%, 43%)
CMYK
cmyk(0%, 21%, 4%, 53%)
HSV
hsv(312, 21%, 47%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 3.74: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: #796074;
color: #796074;
border-color: #796074;
}

Tailwind CSS (with arbitrary values)

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