Skip to content
Vectorlight.net

#52801b

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

HEX
#52801b
RGB
82, 128, 27
HSL
87.33°, 65.16%, 30.39%
OKLCH
0.55 0.14 131.53
Names
—
Lists

Codes

FormatValue
HEX#52801b
RGBrgb(82 128 27)
HSLhsl(87.33 65.16% 30.39%)
OKLCHoklch(0.55 0.14 131.53)
CMYKcmyk(35.94% 0% 78.91% 49.8%)
Android#ff52801b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #52801b;
background-color: #52801b;
bg-[#52801b]