Skip to content
Vectorlight.net

#31c552

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

HEX
#31c552
RGB
49, 197, 82
HSL
133.38°, 60.16%, 48.24%
OKLCH
0.72 0.2 146.62
Names
—
Lists

Codes

FormatValue
HEX#31c552
RGBrgb(49 197 82)
HSLhsl(133.38 60.16% 48.24%)
OKLCHoklch(0.72 0.2 146.62)
CMYKcmyk(75.13% 0% 58.38% 22.75%)
Android#ff31c552

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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