Skip to content
Vectorlight.net

#0ca70d

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

HEX
#0ca70d
RGB
12, 167, 13
HSL
120.39°, 86.59%, 35.1%
OKLCH
0.63 0.21 142.59
Names
—
Lists

Codes

FormatValue
HEX#0ca70d
RGBrgb(12 167 13)
HSLhsl(120.39 86.59% 35.1%)
OKLCHoklch(0.63 0.21 142.59)
CMYKcmyk(92.81% 0% 92.22% 34.51%)
Android#ff0ca70d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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