Skip to content
Vectorlight.net

#b5a135

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

HEX
#b5a135
RGB
181, 161, 53
HSL
50.63°, 54.7%, 45.88%
OKLCH
0.71 0.13 98.52
Names
—
Lists

Codes

FormatValue
HEX#b5a135
RGBrgb(181 161 53)
HSLhsl(50.63 54.7% 45.88%)
OKLCHoklch(0.71 0.13 98.52)
CMYKcmyk(0% 11.05% 70.72% 29.02%)
Android#ffb5a135

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="#b5a135"
Gradient stop
<stop stop-color="#b5a135"/>
CSS variable + fill
:root { --c: #b5a135; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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