Skip to content
Vectorlight.net

#20401f

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

HEX
#20401f
RGB
32, 64, 31
HSL
118.18°, 34.74%, 18.63%
OKLCH
0.34 0.07 143.29
Names
—
Lists

Codes

FormatValue
HEX#20401f
RGBrgb(32 64 31)
HSLhsl(118.18 34.74% 18.63%)
OKLCHoklch(0.34 0.07 143.29)
CMYKcmyk(50% 0% 51.56% 74.9%)
Android#ff20401f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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