Skip to content
Vectorlight.net

#0ca51a

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

HEX
#0ca51a
RGB
12, 165, 26
HSL
125.49°, 86.44%, 34.71%
OKLCH
0.63 0.21 143.21
Names
—
Lists

Codes

FormatValue
HEX#0ca51a
RGBrgb(12 165 26)
HSLhsl(125.49 86.44% 34.71%)
OKLCHoklch(0.63 0.21 143.21)
CMYKcmyk(92.73% 0% 84.24% 35.29%)
Android#ff0ca51a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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