Skip to content
Vectorlight.net

#b4a204

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

HEX
#b4a204
RGB
180, 162, 4
HSL
53.86°, 95.65%, 36.08%
OKLCH
0.71 0.15 101.37
Names
—
Lists

Codes

FormatValue
HEX#b4a204
RGBrgb(180 162 4)
HSLhsl(53.86 95.65% 36.08%)
OKLCHoklch(0.71 0.15 101.37)
CMYKcmyk(0% 10% 97.78% 29.41%)
Android#ffb4a204

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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