Skip to content
Vectorlight.net

#a2cb4a

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

HEX
#a2cb4a
RGB
162, 203, 74
HSL
79.07°, 55.36%, 54.31%
OKLCH
0.79 0.16 125.04
Names
—
Lists

Codes

FormatValue
HEX#a2cb4a
RGBrgb(162 203 74)
HSLhsl(79.07 55.36% 54.31%)
OKLCHoklch(0.79 0.16 125.04)
CMYKcmyk(20.2% 0% 63.55% 20.39%)
Android#ffa2cb4a

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

Recolor an SVG with this color

CSS

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