Skip to content
Vectorlight.net

#5cb227

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

HEX
#5cb227
RGB
92, 178, 39
HSL
97.12°, 64.06%, 42.55%
OKLCH
0.68 0.19 136.53
Names
—
Lists

Codes

FormatValue
HEX#5cb227
RGBrgb(92 178 39)
HSLhsl(97.12 64.06% 42.55%)
OKLCHoklch(0.68 0.19 136.53)
CMYKcmyk(48.31% 0% 78.09% 30.2%)
Android#ff5cb227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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