Skip to content
Vectorlight.net

#5cc31f

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

HEX
#5cc31f
RGB
92, 195, 31
HSL
97.68°, 72.57%, 44.31%
OKLCH
0.73 0.21 137.32
Names
—
Lists

Codes

FormatValue
HEX#5cc31f
RGBrgb(92 195 31)
HSLhsl(97.68 72.57% 44.31%)
OKLCHoklch(0.73 0.21 137.32)
CMYKcmyk(52.82% 0% 84.1% 23.53%)
Android#ff5cc31f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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