Skip to content
Vectorlight.net

#b2a40d

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

HEX
#b2a40d
RGB
178, 164, 13
HSL
54.91°, 86.39%, 37.45%
OKLCH
0.71 0.15 103.24
Names
—
Lists

Codes

FormatValue
HEX#b2a40d
RGBrgb(178 164 13)
HSLhsl(54.91 86.39% 37.45%)
OKLCHoklch(0.71 0.15 103.24)
CMYKcmyk(0% 7.87% 92.7% 30.2%)
Android#ffb2a40d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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