Skip to content
Vectorlight.net

#a2b45f

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

HEX
#a2b45f
RGB
162, 180, 95
HSL
72.71°, 36.17%, 53.92%
OKLCH
0.74 0.11 119.08
Names
—
Lists

Codes

FormatValue
HEX#a2b45f
RGBrgb(162 180 95)
HSLhsl(72.71 36.17% 53.92%)
OKLCHoklch(0.74 0.11 119.08)
CMYKcmyk(10% 0% 47.22% 29.41%)
Android#ffa2b45f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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