Skip to content
Vectorlight.net

#56a012

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

HEX
#56a012
RGB
86, 160, 18
HSL
91.27°, 79.78%, 34.9%
OKLCH
0.63 0.18 134.84
Names
—
Lists

Codes

FormatValue
HEX#56a012
RGBrgb(86 160 18)
HSLhsl(91.27 79.78% 34.9%)
OKLCHoklch(0.63 0.18 134.84)
CMYKcmyk(46.25% 0% 88.75% 37.25%)
Android#ff56a012

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #56a012;
background-color: #56a012;
bg-[#56a012]