Skip to content
Vectorlight.net

#31945d

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

HEX
#31945d
RGB
49, 148, 93
HSL
146.67°, 50.25%, 38.63%
OKLCH
0.59 0.12 155.05
Names
—
Lists

Codes

FormatValue
HEX#31945d
RGBrgb(49 148 93)
HSLhsl(146.67 50.25% 38.63%)
OKLCHoklch(0.59 0.12 155.05)
CMYKcmyk(66.89% 0% 37.16% 41.96%)
Android#ff31945d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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