Skip to content
Vectorlight.net

#a2cb38

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

HEX
#a2cb38
RGB
162, 203, 56
HSL
76.73°, 58.57%, 50.78%
OKLCH
0.79 0.17 124.13
Names
—
Lists

Codes

FormatValue
HEX#a2cb38
RGBrgb(162 203 56)
HSLhsl(76.73 58.57% 50.78%)
OKLCHoklch(0.79 0.17 124.13)
CMYKcmyk(20.2% 0% 72.41% 20.39%)
Android#ffa2cb38

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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