Skip to content
Vectorlight.net

#31d72f

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

HEX
#31d72f
RGB
49, 215, 47
HSL
119.29°, 67.74%, 51.37%
OKLCH
0.77 0.24 142.67
Names
—
Lists

Codes

FormatValue
HEX#31d72f
RGBrgb(49 215 47)
HSLhsl(119.29 67.74% 51.37%)
OKLCHoklch(0.77 0.24 142.67)
CMYKcmyk(77.21% 0% 78.14% 15.69%)
Android#ff31d72f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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