Hex Color #476331 - Custom Color

Color Codes

HEX
#476331
RGB
rgb(71, 99, 49)
HSL
hsl(94, 34%, 29%)
CMYK
cmyk(28%, 0%, 51%, 61%)
HSV
hsv(94, 51%, 39%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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