Skip to content
Vectorlight.net

#31735c

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

HEX
#31735c
RGB
49, 115, 92
HSL
159.09°, 40.24%, 32.16%
OKLCH
0.51 0.08 167.65
Names
—
Lists

Codes

FormatValue
HEX#31735c
RGBrgb(49 115 92)
HSLhsl(159.09 40.24% 32.16%)
OKLCHoklch(0.51 0.08 167.65)
CMYKcmyk(57.39% 0% 20% 54.9%)
Android#ff31735c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31735c;
background-color: #31735c;
bg-[#31735c]