Skip to content
Vectorlight.net

#a4b802

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

HEX
#a4b802
RGB
164, 184, 2
HSL
66.59°, 97.85%, 36.47%
OKLCH
0.74 0.17 117.31
Names
—
Lists

Codes

FormatValue
HEX#a4b802
RGBrgb(164 184 2)
HSLhsl(66.59 97.85% 36.47%)
OKLCHoklch(0.74 0.17 117.31)
CMYKcmyk(10.87% 0% 98.91% 27.84%)
Android#ffa4b802

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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