Skip to content
Vectorlight.net

#a2d751

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

HEX
#a2d751
RGB
162, 215, 81
HSL
83.73°, 62.62%, 58.04%
OKLCH
0.82 0.17 128.09
Names
—
Lists

Codes

FormatValue
HEX#a2d751
RGBrgb(162 215 81)
HSLhsl(83.73 62.62% 58.04%)
OKLCHoklch(0.82 0.17 128.09)
CMYKcmyk(24.65% 0% 62.33% 15.69%)
Android#ffa2d751

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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