Skip to content
Vectorlight.net

#a5bb2a

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

HEX
#a5bb2a
RGB
165, 187, 42
HSL
69.1°, 63.32%, 44.9%
OKLCH
0.75 0.16 118.27
Names
—
Lists

Codes

FormatValue
HEX#a5bb2a
RGBrgb(165 187 42)
HSLhsl(69.1 63.32% 44.9%)
OKLCHoklch(0.75 0.16 118.27)
CMYKcmyk(11.76% 0% 77.54% 26.67%)
Android#ffa5bb2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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