Skip to content
Vectorlight.net

#a2bd31

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

HEX
#a2bd31
RGB
162, 189, 49
HSL
71.57°, 58.82%, 46.67%
OKLCH
0.75 0.16 120.15
Names
—
Lists

Codes

FormatValue
HEX#a2bd31
RGBrgb(162 189 49)
HSLhsl(71.57 58.82% 46.67%)
OKLCHoklch(0.75 0.16 120.15)
CMYKcmyk(14.29% 0% 74.07% 25.88%)
Android#ffa2bd31

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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