Skip to content
Vectorlight.net

#bfac28

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

HEX
#bfac28
RGB
191, 172, 40
HSL
52.45°, 65.37%, 45.29%
OKLCH
0.74 0.14 100.56
Names
—
Lists

Codes

FormatValue
HEX#bfac28
RGBrgb(191 172 40)
HSLhsl(52.45 65.37% 45.29%)
OKLCHoklch(0.74 0.14 100.56)
CMYKcmyk(0% 9.95% 79.06% 25.1%)
Android#ffbfac28

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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