Skip to content
Vectorlight.net

#a5b71b

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

HEX
#a5b71b
RGB
165, 183, 27
HSL
66.92°, 74.29%, 41.18%
OKLCH
0.74 0.16 116.76
Names
—
Lists

Codes

FormatValue
HEX#a5b71b
RGBrgb(165 183 27)
HSLhsl(66.92 74.29% 41.18%)
OKLCHoklch(0.74 0.16 116.76)
CMYKcmyk(9.84% 0% 85.25% 28.24%)
Android#ffa5b71b

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

Recolor an SVG with this color

CSS

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