Skip to content
Vectorlight.net

#a8bb2a

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

HEX
#a8bb2a
RGB
168, 187, 42
HSL
67.86°, 63.32%, 44.9%
OKLCH
0.75 0.16 117.16
Names
—
Lists

Codes

FormatValue
HEX#a8bb2a
RGBrgb(168 187 42)
HSLhsl(67.86 63.32% 44.9%)
OKLCHoklch(0.75 0.16 117.16)
CMYKcmyk(10.16% 0% 77.54% 26.67%)
Android#ffa8bb2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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