Skip to content

#bfac55

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

RGB
191, 172, 85
HSL
49°, 45%, 54%
CMYK
0, 10, 56, 25
Luminance
0.4124

Every format

HEX#bfac55
RGBrgb(191, 172, 85)
HSLhsl(49, 45%, 54%)
CMYKcmyk(0%, 10%, 56%, 25%)
LABlab(70.3 -4.2 46.6)
LCHlch(70.3 46.8 95.2)
OKLCHoklch(0.743 0.110 97.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfac55 on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#bfac55 on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green67.5%
Blue33.3%

CMYK percentages

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

Color previews

#bfac55 text on a black background

contrast 9.25:1

Card sample

#bfac55 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfac55

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac55 in the Color Lab