Skip to content
Vectorlight.net

#abaf2a

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

HEX
#abaf2a
RGB
171, 175, 42
HSL
61.8°, 61.29%, 42.55%
OKLCH
0.73 0.15 111.32
Names
—
Lists

Codes

FormatValue
HEX#abaf2a
RGBrgb(171 175 42)
HSLhsl(61.8 61.29% 42.55%)
OKLCHoklch(0.73 0.15 111.32)
CMYKcmyk(2.29% 0% 76% 31.37%)
Android#ffabaf2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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