Skip to content
Vectorlight.net

#5fc31c

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

HEX
#5fc31c
RGB
95, 195, 28
HSL
95.93°, 74.89%, 43.73%
OKLCH
0.73 0.21 136.76
Names
—
Lists

Codes

FormatValue
HEX#5fc31c
RGBrgb(95 195 28)
HSLhsl(95.93 74.89% 43.73%)
OKLCHoklch(0.73 0.21 136.76)
CMYKcmyk(51.28% 0% 85.64% 23.53%)
Android#ff5fc31c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #5fc31c;
background-color: #5fc31c;
bg-[#5fc31c]