Skip to content

#bfd50f

a dark, electric yellow · cool · closest name: yellow

RGB
191, 213, 15
HSL
67°, 87%, 45%
CMYK
10, 0, 93, 17
Luminance
0.5870

Every format

HEX#bfd50f
RGBrgb(191, 213, 15)
HSLhsl(67, 87%, 45%)
CMYKcmyk(10%, 0%, 93%, 17%)
LABlab(81.1 -27.9 79.1)
LCHlch(81.1 83.9 109.4)
OKLCHoklch(0.828 0.189 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfd50f on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#bfd50f on black: 12.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green83.5%
Blue5.9%

CMYK percentages

Cyan10.3%
Magenta0.0%
Yellow93.0%
Key (black)16.5%

Color previews

#bfd50f text on a black background

contrast 12.74:1

Card sample

#bfd50f text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #bfd50f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfd50f in the Color Lab