Skip to content

#bfc950

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

RGB
191, 201, 80
HSL
65°, 53%, 55%
CMYK
5, 0, 60, 21
Luminance
0.5343

Every format

HEX#bfc950
RGBrgb(191, 201, 80)
HSLhsl(65, 53%, 55%)
CMYKcmyk(5%, 0%, 60%, 21%)
LABlab(78.1 -19.5 57.6)
LCHlch(78.1 60.9 108.7)
OKLCHoklch(0.805 0.144 113.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bfc950 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#bfc950 on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red74.9%
Green78.8%
Blue31.4%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow60.2%
Key (black)21.2%

Color previews

#bfc950 text on a black background

contrast 11.69:1

Card sample

#bfc950 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(191, 201, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 201, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfc950;
background: linear-gradient(135deg, #bfc950, #6EC950);

Monochromatic scale

Palettes built from #bfc950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bfc950 in the Color Lab