Skip to content
Vectorlight.net

#20841f

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

HEX
#20841f
RGB
32, 132, 31
HSL
119.41°, 61.96%, 31.96%
OKLCH
0.54 0.16 142.78
Names
—
Lists

Codes

FormatValue
HEX#20841f
RGBrgb(32 132 31)
HSLhsl(119.41 61.96% 31.96%)
OKLCHoklch(0.54 0.16 142.78)
CMYKcmyk(75.76% 0% 76.52% 48.24%)
Android#ff20841f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #20841f;
background-color: #20841f;
bg-[#20841f]