Skip to content
Vectorlight.net

#508140

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#508140
RGB
80, 129, 64
HSL
105.23°, 33.68%, 37.84%
OKLCH
0.55 0.11 138.44
Names
—
Lists

Codes

FormatValue
HEX#508140
RGBrgb(80 129 64)
HSLhsl(105.23 33.68% 37.84%)
OKLCHoklch(0.55 0.11 138.44)
CMYKcmyk(37.98% 0% 50.39% 49.41%)
Android#ff508140

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.61:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.55:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#508140"
Gradient stop
<stop stop-color="#508140"/>
CSS variable + fill
:root { --c: #508140; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #508140;
background-color: #508140;
bg-[#508140]