Skip to content
Vectorlight.net

#40901a

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

HEX
#40901a
RGB
64, 144, 26
HSL
100.68°, 69.41%, 33.33%
OKLCH
0.58 0.17 138.11
Names
—
Lists

Codes

FormatValue
HEX#40901a
RGBrgb(64 144 26)
HSLhsl(100.68 69.41% 33.33%)
OKLCHoklch(0.58 0.17 138.11)
CMYKcmyk(55.56% 0% 81.94% 43.53%)
Android#ff40901a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.02:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.22:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#40901a"
Gradient stop
<stop stop-color="#40901a"/>
CSS variable + fill
:root { --c: #40901a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #40901a;
background-color: #40901a;
bg-[#40901a]