Skip to content
Vectorlight.net

#31945f

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

HEX
#31945f
RGB
49, 148, 95
HSL
147.88°, 50.25%, 38.63%
OKLCH
0.6 0.12 155.92
Names
—
Lists

Codes

FormatValue
HEX#31945f
RGBrgb(49 148 95)
HSLhsl(147.88 50.25% 38.63%)
OKLCHoklch(0.6 0.12 155.92)
CMYKcmyk(66.89% 0% 35.81% 41.96%)
Android#ff31945f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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