Skip to content
Vectorlight.net

#31bf48

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

HEX
#31bf48
RGB
49, 191, 72
HSL
129.72°, 59.17%, 47.06%
OKLCH
0.71 0.2 145.41
Names
—
Lists

Codes

FormatValue
HEX#31bf48
RGBrgb(49 191 72)
HSLhsl(129.72 59.17% 47.06%)
OKLCHoklch(0.71 0.2 145.41)
CMYKcmyk(74.35% 0% 62.3% 25.1%)
Android#ff31bf48

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #31bf48;
background-color: #31bf48;
bg-[#31bf48]