Skip to content

#bfac39

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

RGB
191, 172, 57
HSL
52°, 54%, 49%
CMYK
0, 10, 70, 25
Luminance
0.4088

Every format

HEX#bfac39
RGBrgb(191, 172, 57)
HSLhsl(52, 54%, 49%)
CMYKcmyk(0%, 10%, 70%, 25%)
LABlab(70.1 -6.1 58.8)
LCHlch(70.1 59.1 95.9)
OKLCHoklch(0.740 0.133 99.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.9%
Green67.5%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow70.2%
Key (black)25.1%

Color previews

#bfac39 text on a black background

contrast 9.18:1

Card sample

#bfac39 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfac39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac39 in the Color Lab