Skip to content
Vectorlight.net

#b8a51a

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

HEX
#b8a51a
RGB
184, 165, 26
HSL
52.78°, 75.24%, 41.18%
OKLCH
0.72 0.14 100.63
Names
—
Lists

Codes

FormatValue
HEX#b8a51a
RGBrgb(184 165 26)
HSLhsl(52.78 75.24% 41.18%)
OKLCHoklch(0.72 0.14 100.63)
CMYKcmyk(0% 10.33% 85.87% 27.84%)
Android#ffb8a51a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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