Skip to content
Vectorlight.net

#5b802f

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

HEX
#5b802f
RGB
91, 128, 47
HSL
87.41°, 46.29%, 34.31%
OKLCH
0.55 0.12 130.22
Names
—
Lists

Codes

FormatValue
HEX#5b802f
RGBrgb(91 128 47)
HSLhsl(87.41 46.29% 34.31%)
OKLCHoklch(0.55 0.12 130.22)
CMYKcmyk(28.91% 0% 63.28% 49.8%)
Android#ff5b802f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.59:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.57: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="#5b802f"
Gradient stop
<stop stop-color="#5b802f"/>
CSS variable + fill
:root { --c: #5b802f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #5b802f;
background-color: #5b802f;
bg-[#5b802f]