Skip to content
Vectorlight.net

#31684d

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

HEX
#31684d
RGB
49, 104, 77
HSL
150.55°, 35.95%, 30%
OKLCH
0.47 0.07 160.29
Names
—
Lists

Codes

FormatValue
HEX#31684d
RGBrgb(49 104 77)
HSLhsl(150.55 35.95% 30%)
OKLCHoklch(0.47 0.07 160.29)
CMYKcmyk(52.88% 0% 25.96% 59.22%)
Android#ff31684d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31684d;
background-color: #31684d;
bg-[#31684d]