Skip to content
Vectorlight.net

#bba512

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

HEX
#bba512
RGB
187, 165, 18
HSL
52.19°, 82.44%, 40.2%
OKLCH
0.72 0.15 99.39
Names
—
Lists

Codes

FormatValue
HEX#bba512
RGBrgb(187 165 18)
HSLhsl(52.19 82.44% 40.2%)
OKLCHoklch(0.72 0.15 99.39)
CMYKcmyk(0% 11.76% 90.37% 26.67%)
Android#ffbba512

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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