Skip to content
Vectorlight.net

#40684a

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

HEX
#40684a
RGB
64, 104, 74
HSL
135°, 23.81%, 32.94%
OKLCH
0.48 0.07 151.2
Names
—
Lists

Codes

FormatValue
HEX#40684a
RGBrgb(64 104 74)
HSLhsl(135 23.81% 32.94%)
OKLCHoklch(0.48 0.07 151.2)
CMYKcmyk(38.46% 0% 28.85% 59.22%)
Android#ff40684a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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