Skip to content
Vectorlight.net

#bba31e

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

HEX
#bba31e
RGB
187, 163, 30
HSL
50.83°, 72.35%, 42.55%
OKLCH
0.72 0.14 97.89
Names
—
Lists

Codes

FormatValue
HEX#bba31e
RGBrgb(187 163 30)
HSLhsl(50.83 72.35% 42.55%)
OKLCHoklch(0.72 0.14 97.89)
CMYKcmyk(0% 12.83% 83.96% 26.67%)
Android#ffbba31e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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