Skip to content
Vectorlight.net

#0cb131

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

HEX
#0cb131
RGB
12, 177, 49
HSL
133.45°, 87.3%, 37.06%
OKLCH
0.66 0.21 144.86
Names
—
Lists

Codes

FormatValue
HEX#0cb131
RGBrgb(12 177 49)
HSLhsl(133.45 87.3% 37.06%)
OKLCHoklch(0.66 0.21 144.86)
CMYKcmyk(93.22% 0% 72.32% 30.59%)
Android#ff0cb131

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #0cb131;
background-color: #0cb131;
bg-[#0cb131]