Skip to content
Vectorlight.net

#0ca227

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

HEX
#0ca227
RGB
12, 162, 39
HSL
130.8°, 86.21%, 34.12%
OKLCH
0.62 0.2 144.28
Names
—
Lists

Codes

FormatValue
HEX#0ca227
RGBrgb(12 162 39)
HSLhsl(130.8 86.21% 34.12%)
OKLCHoklch(0.62 0.2 144.28)
CMYKcmyk(92.59% 0% 75.93% 36.47%)
Android#ff0ca227

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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