Skip to content

#bfcd21

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

RGB
191, 205, 33
HSL
65°, 72%, 47%
CMYK
7, 0, 84, 20
Luminance
0.5485

Every format

HEX#bfcd21
RGBrgb(191, 205, 33)
HSLhsl(65, 72%, 47%)
CMYKcmyk(7%, 0%, 84%, 20%)
LABlab(79.0 -23.7 74.3)
LCHlch(79.0 78.0 107.7)
OKLCHoklch(0.810 0.176 114.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfcd21 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#bfcd21 on black: 11.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green80.4%
Blue12.9%

CMYK percentages

Cyan6.8%
Magenta0.0%
Yellow83.9%
Key (black)19.6%

Color previews

#bfcd21 text on a black background

contrast 11.97:1

Card sample

#bfcd21 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfcd21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfcd21 in the Color Lab