Hex Color #507140 - Custom Color

Color Codes

HEX
#507140
RGB
rgb(80, 113, 64)
HSL
hsl(100, 28%, 35%)
CMYK
cmyk(29%, 0%, 43%, 56%)
HSV
hsv(100, 43%, 44%)
Color Name
Custom Color

Color Variations

Color Harmonies

Accessibility

WCAG Contrast Ratios

Text on White Background

Sample Text

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

Text on Black Background

Sample Text

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

Tailwind CSS (with arbitrary values)

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