Skip to content
Vectorlight.net

#40634f

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

HEX
#40634f
RGB
64, 99, 79
HSL
145.71°, 21.47%, 31.96%
OKLCH
0.47 0.05 158.52
Names
—
Lists

Codes

FormatValue
HEX#40634f
RGBrgb(64 99 79)
HSLhsl(145.71 21.47% 31.96%)
OKLCHoklch(0.47 0.05 158.52)
CMYKcmyk(35.35% 0% 20.2% 61.18%)
Android#ff40634f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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