Hex Color #526540 - Custom Color

Color Codes

HEX
#526540
RGB
rgb(82, 101, 64)
HSL
hsl(91, 22%, 32%)
CMYK
cmyk(19%, 0%, 37%, 60%)
HSV
hsv(91, 37%, 40%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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