Skip to content
Vectorlight.net

#a5b71a

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

HEX
#a5b71a
RGB
165, 183, 26
HSL
66.88°, 75.12%, 40.98%
OKLCH
0.74 0.16 116.76
Names
—
Lists

Codes

FormatValue
HEX#a5b71a
RGBrgb(165 183 26)
HSLhsl(66.88 75.12% 40.98%)
OKLCHoklch(0.74 0.16 116.76)
CMYKcmyk(9.84% 0% 85.79% 28.24%)
Android#ffa5b71a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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