Skip to content
Vectorlight.net

#40473f

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

HEX
#40473f
RGB
64, 71, 63
HSL
112.5°, 5.97%, 26.27%
OKLCH
0.39 0.02 141.72
Names
—
Lists

Codes

FormatValue
HEX#40473f
RGBrgb(64 71 63)
HSLhsl(112.5 5.97% 26.27%)
OKLCHoklch(0.39 0.02 141.72)
CMYKcmyk(9.86% 0% 11.27% 72.16%)
Android#ff40473f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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