Hex Color #74875D - Custom Color

Color Codes

HEX
#74875D
RGB
rgb(116, 135, 93)
HSL
hsl(87, 18%, 45%)
CMYK
cmyk(14%, 0%, 31%, 47%)
HSV
hsv(87, 31%, 53%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

Contrast Ratio: 5.37: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: #74875D;
color: #74875D;
border-color: #74875D;
}

Tailwind CSS (with arbitrary values)

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