Skip to content
Vectorlight.net

#a2cb5a

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

HEX
#a2cb5a
RGB
162, 203, 90
HSL
81.77°, 52.07%, 57.45%
OKLCH
0.79 0.15 126.24
Names
—
Lists

Codes

FormatValue
HEX#a2cb5a
RGBrgb(162 203 90)
HSLhsl(81.77 52.07% 57.45%)
OKLCHoklch(0.79 0.15 126.24)
CMYKcmyk(20.2% 0% 55.67% 20.39%)
Android#ffa2cb5a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

color / background
color: #a2cb5a;
background-color: #a2cb5a;
bg-[#a2cb5a]