Skip to content

#bfa221

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

RGB
191, 162, 33
HSL
49°, 71%, 44%
CMYK
0, 15, 83, 25
Luminance
0.3703

Every format

HEX#bfa221
RGBrgb(191, 162, 33)
HSLhsl(49, 71%, 44%)
CMYKcmyk(0%, 15%, 83%, 25%)
LABlab(67.3 -1.8 64.4)
LCHlch(67.3 64.5 91.6)
OKLCHoklch(0.718 0.139 95.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfa221 on white: 2.50:1
AA ✗ fail · AA-large · AAA
Aa
#bfa221 on black: 8.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green63.5%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta15.2%
Yellow82.7%
Key (black)25.1%

Color previews

#bfa221 text on a black background

contrast 8.41:1

Card sample

#bfa221 text on a white background

contrast 2.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 162, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 162, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfa221;
background: linear-gradient(135deg, #bfa221, #73BF21);

Monochromatic scale

Palettes built from #bfa221

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfa221 in the Color Lab