Skip to content

#bfac2e

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

RGB
191, 172, 46
HSL
52°, 61%, 47%
CMYK
0, 10, 76, 25
Luminance
0.4078

Every format

HEX#bfac2e
RGBrgb(191, 172, 46)
HSLhsl(52, 61%, 47%)
CMYKcmyk(0%, 10%, 76%, 25%)
LABlab(70.0 -6.6 62.8)
LCHlch(70.0 63.1 96.0)
OKLCHoklch(0.739 0.140 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red74.9%
Green67.5%
Blue18.0%

CMYK percentages

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

Color previews

#bfac2e text on a black background

contrast 9.16:1

Card sample

#bfac2e text on a white background

contrast 2.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfac2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfac2e in the Color Lab