Skip to content
Vectorlight.net

#bfab18

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

HEX
#bfab18
RGB
191, 171, 24
HSL
52.81°, 77.67%, 42.16%
OKLCH
0.74 0.15 100.54
Names
—
Lists

Codes

FormatValue
HEX#bfab18
RGBrgb(191 171 24)
HSLhsl(52.81 77.67% 42.16%)
OKLCHoklch(0.74 0.15 100.54)
CMYKcmyk(0% 10.47% 87.43% 25.1%)
Android#ffbfab18

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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