Skip to content
Vectorlight.net

#bba211

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

HEX
#bba211
RGB
187, 162, 17
HSL
51.18°, 83.33%, 40%
OKLCH
0.71 0.14 97.75
Names
—
Lists

Codes

FormatValue
HEX#bba211
RGBrgb(187 162 17)
HSLhsl(51.18 83.33% 40%)
OKLCHoklch(0.71 0.14 97.75)
CMYKcmyk(0% 13.37% 90.91% 26.67%)
Android#ffbba211

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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