Skip to content
Vectorlight.net

#b7ab02

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

HEX
#b7ab02
RGB
183, 171, 2
HSL
56.02°, 97.84%, 36.27%
OKLCH
0.73 0.15 104.51
Names
—
Lists

Codes

FormatValue
HEX#b7ab02
RGBrgb(183 171 2)
HSLhsl(56.02 97.84% 36.27%)
OKLCHoklch(0.73 0.15 104.51)
CMYKcmyk(0% 6.56% 98.91% 28.24%)
Android#ffb7ab02

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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