Skip to content
Vectorlight.net

#a8d71b

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

HEX
#a8d71b
RGB
168, 215, 27
HSL
75°, 77.69%, 47.45%
OKLCH
0.82 0.2 124.29
Names
—
Lists

Codes

FormatValue
HEX#a8d71b
RGBrgb(168 215 27)
HSLhsl(75 77.69% 47.45%)
OKLCHoklch(0.82 0.2 124.29)
CMYKcmyk(21.86% 0% 87.44% 15.69%)
Android#ffa8d71b

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

Recolor an SVG with this color

CSS

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