Skip to content
Vectorlight.net

#40801d

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

HEX
#40801d
RGB
64, 128, 29
HSL
98.79°, 63.06%, 30.78%
OKLCH
0.54 0.15 136.99
Names
—
Lists

Codes

FormatValue
HEX#40801d
RGBrgb(64 128 29)
HSLhsl(98.79 63.06% 30.78%)
OKLCHoklch(0.54 0.15 136.99)
CMYKcmyk(50% 0% 77.34% 49.8%)
Android#ff40801d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #40801d;
background-color: #40801d;
bg-[#40801d]