Skip to content
Vectorlight.net

#a2bf4f

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

HEX
#a2bf4f
RGB
162, 191, 79
HSL
75.54°, 46.67%, 52.94%
OKLCH
0.76 0.14 122.05
Names
—
Lists

Codes

FormatValue
HEX#a2bf4f
RGBrgb(162 191 79)
HSLhsl(75.54 46.67% 52.94%)
OKLCHoklch(0.76 0.14 122.05)
CMYKcmyk(15.18% 0% 58.64% 25.1%)
Android#ffa2bf4f

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

Recolor an SVG with this color

CSS

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