Skip to content
Vectorlight.net

#40641f

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

HEX
#40641f
RGB
64, 100, 31
HSL
91.3°, 52.67%, 25.69%
OKLCH
0.46 0.11 132.71
Names
—
Lists

Codes

FormatValue
HEX#40641f
RGBrgb(64 100 31)
HSLhsl(91.3 52.67% 25.69%)
OKLCHoklch(0.46 0.11 132.71)
CMYKcmyk(36% 0% 69% 60.78%)
Android#ff40641f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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