Skip to content
Vectorlight.net

#40900f

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

HEX
#40900f
RGB
64, 144, 15
HSL
97.21°, 81.13%, 31.18%
OKLCH
0.58 0.17 137.45
Names
—
Lists

Codes

FormatValue
HEX#40900f
RGBrgb(64 144 15)
HSLhsl(97.21 81.13% 31.18%)
OKLCHoklch(0.58 0.17 137.45)
CMYKcmyk(55.56% 0% 89.58% 43.53%)
Android#ff40900f

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

Recolor an SVG with this color

CSS

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