Skip to content

#bfac2c

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

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

Every format

HEX#bfac2c
RGBrgb(191, 172, 44)
HSLhsl(52, 63%, 46%)
CMYKcmyk(0%, 10%, 77%, 25%)
LABlab(70.0 -6.7 63.4)
LCHlch(70.0 63.8 96.0)
OKLCHoklch(0.739 0.141 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.9%
Green67.5%
Blue17.3%

CMYK percentages

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

Color previews

#bfac2c text on a black background

contrast 9.15:1

Card sample

#bfac2c text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfac2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac2c in the Color Lab