Skip to content
Vectorlight.net

#a8d522

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

HEX
#a8d522
RGB
168, 213, 34
HSL
75.08°, 72.47%, 48.43%
OKLCH
0.81 0.19 124
Names
—
Lists

Codes

FormatValue
HEX#a8d522
RGBrgb(168 213 34)
HSLhsl(75.08 72.47% 48.43%)
OKLCHoklch(0.81 0.19 124)
CMYKcmyk(21.13% 0% 84.04% 16.47%)
Android#ffa8d522

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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