Skip to content
Vectorlight.net

#0ca231

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

HEX
#0ca231
RGB
12, 162, 49
HSL
134.8°, 86.21%, 34.12%
OKLCH
0.62 0.19 145.4
Names
—
Lists

Codes

FormatValue
HEX#0ca231
RGBrgb(12 162 49)
HSLhsl(134.8 86.21% 34.12%)
OKLCHoklch(0.62 0.19 145.4)
CMYKcmyk(92.59% 0% 69.75% 36.47%)
Android#ff0ca231

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.22: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="#0ca231"
Gradient stop
<stop stop-color="#0ca231"/>
CSS variable + fill
:root { --c: #0ca231; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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