Skip to content
Vectorlight.net

#0cd980

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

HEX
#0cd980
RGB
12, 217, 128
HSL
153.95°, 89.52%, 44.9%
OKLCH
0.78 0.19 155.42
Names
—
Lists

Codes

FormatValue
HEX#0cd980
RGBrgb(12 217 128)
HSLhsl(153.95 89.52% 44.9%)
OKLCHoklch(0.78 0.19 155.42)
CMYKcmyk(94.47% 0% 41.01% 14.9%)
Android#ff0cd980

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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