Hex Color #7C702F - Custom Color

Color Codes

HEX
#7C702F
RGB
rgb(124, 112, 47)
HSL
hsl(51, 45%, 34%)
CMYK
cmyk(0%, 10%, 62%, 51%)
HSV
hsv(51, 62%, 49%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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