Skip to content

#bfac2b

a balanced, vivid yellow · cool · closest name: olive

RGB
191, 172, 43
HSL
52°, 63%, 46%
CMYK
0, 10, 78, 25
Luminance
0.4076

Every format

HEX#bfac2b
RGBrgb(191, 172, 43)
HSLhsl(52, 63%, 46%)
CMYKcmyk(0%, 10%, 78%, 25%)
LABlab(70.0 -6.7 63.8)
LCHlch(70.0 64.1 96.0)
OKLCHoklch(0.739 0.141 100.4)

Copy-ready code

/* CSS */
color: #bfac2b;
background-color: #bfac2b;
/* Tailwind (arbitrary) */
class="text-[#bfac2b] bg-[#bfac2b]"
/* SCSS */
$brand: #bfac2b;
/* SwiftUI */
Color(red: 0.749, green: 0.675, blue: 0.169)
/* Android */
Color.parseColor("#bfac2b")

Accessibility — WCAG contrast

Aa
#bfac2b on white: 2.29:1
AA ✗ fail · AA-large · AAA
Aa
#bfac2b on black: 9.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green67.5%
Blue16.9%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow77.5%
Key (black)25.1%

Color previews

#bfac2b text on a black background

contrast 9.15:1

Card sample

#bfac2b text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #bfac2b;
Background color
Panel with #bfac2b background
background-color: #bfac2b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #bfac2b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(191, 172, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 172, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfac2b;
background: linear-gradient(135deg, #bfac2b, #6FBF2B);

Monochromatic scale

Palettes built from #bfac2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac2b in the Color Lab