Skip to content
Vectorlight.net

#0cba2b

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

HEX
#0cba2b
RGB
12, 186, 43
HSL
130.69°, 87.88%, 38.82%
OKLCH
0.69 0.22 144.1
Names
—
Lists

Codes

FormatValue
HEX#0cba2b
RGBrgb(12 186 43)
HSLhsl(130.69 87.88% 38.82%)
OKLCHoklch(0.69 0.22 144.1)
CMYKcmyk(93.55% 0% 76.88% 27.06%)
Android#ff0cba2b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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