Skip to content
Vectorlight.net

#aba22f

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

HEX
#aba22f
RGB
171, 162, 47
HSL
55.65°, 56.88%, 42.75%
OKLCH
0.7 0.13 104.81
Names
—
Lists

Codes

FormatValue
HEX#aba22f
RGBrgb(171 162 47)
HSLhsl(55.65 56.88% 42.75%)
OKLCHoklch(0.7 0.13 104.81)
CMYKcmyk(0% 5.26% 72.51% 32.94%)
Android#ffaba22f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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