Skip to content
Vectorlight.net

#a2d787

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

HEX
#a2d787
RGB
162, 215, 135
HSL
99.75°, 50%, 68.63%
OKLCH
0.82 0.12 135.57
Names
—
Lists

Codes

FormatValue
HEX#a2d787
RGBrgb(162 215 135)
HSLhsl(99.75 50% 68.63%)
OKLCHoklch(0.82 0.12 135.57)
CMYKcmyk(24.65% 0% 37.21% 15.69%)
Android#ffa2d787

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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