Skip to content
Vectorlight.net

#31bb45

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

HEX
#31bb45
RGB
49, 187, 69
HSL
128.7°, 58.47%, 46.27%
OKLCH
0.7 0.2 145.13
Names
—
Lists

Codes

FormatValue
HEX#31bb45
RGBrgb(49 187 69)
HSLhsl(128.7 58.47% 46.27%)
OKLCHoklch(0.7 0.2 145.13)
CMYKcmyk(73.8% 0% 63.1% 26.67%)
Android#ff31bb45

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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