Skip to content

#bfc721

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

RGB
191, 199, 33
HSL
63°, 72%, 46%
CMYK
4, 0, 83, 22
Luminance
0.5203

Every format

HEX#bfc721
RGBrgb(191, 199, 33)
HSLhsl(63, 72%, 46%)
CMYKcmyk(4%, 0%, 83%, 22%)
LABlab(77.3 -20.8 72.9)
LCHlch(77.3 75.8 105.9)
OKLCHoklch(0.797 0.170 112.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfc721 on white: 1.84:1
AA ✗ fail · AA-large · AAA
Aa
#bfc721 on black: 11.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green78.0%
Blue12.9%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow83.4%
Key (black)22.0%

Color previews

#bfc721 text on a black background

contrast 11.41:1

Card sample

#bfc721 text on a white background

contrast 1.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfc721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfc721 in the Color Lab