Skip to content

#bfac32

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

RGB
191, 172, 50
HSL
52°, 59%, 47%
CMYK
0, 10, 74, 25
Luminance
0.4081

Every format

HEX#bfac32
RGBrgb(191, 172, 50)
HSLhsl(52, 59%, 47%)
CMYKcmyk(0%, 10%, 74%, 25%)
LABlab(70.0 -6.4 61.4)
LCHlch(70.0 61.7 96.0)
OKLCHoklch(0.740 0.137 100.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.9%
Green67.5%
Blue19.6%

CMYK percentages

Cyan0.0%
Magenta9.9%
Yellow73.8%
Key (black)25.1%

Color previews

#bfac32 text on a black background

contrast 9.16:1

Card sample

#bfac32 text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfac32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac32 in the Color Lab