Skip to content
Vectorlight.net

#a5bf31

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

HEX
#a5bf31
RGB
165, 191, 49
HSL
70.99°, 59.17%, 47.06%
OKLCH
0.76 0.16 119.68
Names
—
Lists

Codes

FormatValue
HEX#a5bf31
RGBrgb(165 191 49)
HSLhsl(70.99 59.17% 47.06%)
OKLCHoklch(0.76 0.16 119.68)
CMYKcmyk(13.61% 0% 74.35% 25.1%)
Android#ffa5bf31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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