Hex Color #79872A - Custom Color

Color Codes

HEX
#79872A
RGB
rgb(121, 135, 42)
HSL
hsl(69, 53%, 35%)
CMYK
cmyk(10%, 0%, 69%, 47%)
HSV
hsv(69, 69%, 53%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.31: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: #79872A;
color: #79872A;
border-color: #79872A;
}

Tailwind CSS (with arbitrary values)

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