Skip to content
Vectorlight.net

#0ca54c

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

HEX
#0ca54c
RGB
12, 165, 76
HSL
145.1°, 86.44%, 34.71%
OKLCH
0.63 0.17 149.83
Names
—
Lists

Codes

FormatValue
HEX#0ca54c
RGBrgb(12 165 76)
HSLhsl(145.1 86.44% 34.71%)
OKLCHoklch(0.63 0.17 149.83)
CMYKcmyk(92.73% 0% 53.94% 35.29%)
Android#ff0ca54c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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