Skip to content
Vectorlight.net

#0ca118

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

HEX
#0ca118
RGB
12, 161, 24
HSL
124.83°, 86.13%, 33.92%
OKLCH
0.62 0.2 143.13
Names
—
Lists

Codes

FormatValue
HEX#0ca118
RGBrgb(12 161 24)
HSLhsl(124.83 86.13% 33.92%)
OKLCHoklch(0.62 0.2 143.13)
CMYKcmyk(92.55% 0% 85.09% 36.86%)
Android#ff0ca118

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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