Skip to content
Vectorlight.net

#31844e

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

HEX
#31844e
RGB
49, 132, 78
HSL
140.96°, 45.86%, 35.49%
OKLCH
0.55 0.12 152
Names
—
Lists

Codes

FormatValue
HEX#31844e
RGBrgb(49 132 78)
HSLhsl(140.96 45.86% 35.49%)
OKLCHoklch(0.55 0.12 152)
CMYKcmyk(62.88% 0% 40.91% 48.24%)
Android#ff31844e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31844e;
background-color: #31844e;
bg-[#31844e]