Skip to content
Vectorlight.net

#aba52f

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

HEX
#aba52f
RGB
171, 165, 47
HSL
57.1°, 56.88%, 42.75%
OKLCH
0.71 0.13 106.44
Names
—
Lists

Codes

FormatValue
HEX#aba52f
RGBrgb(171 165 47)
HSLhsl(57.1 56.88% 42.75%)
OKLCHoklch(0.71 0.13 106.44)
CMYKcmyk(0% 3.51% 72.51% 32.94%)
Android#ffaba52f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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