Skip to content
Vectorlight.net

#40817a

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

HEX
#40817a
RGB
64, 129, 122
HSL
173.54°, 33.68%, 37.84%
OKLCH
0.56 0.07 186.26
Names
—
Lists

Codes

FormatValue
HEX#40817a
RGBrgb(64 129 122)
HSLhsl(173.54 33.68% 37.84%)
OKLCHoklch(0.56 0.07 186.26)
CMYKcmyk(50.39% 0% 5.43% 49.41%)
Android#ff40817a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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