#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 |
| RGB | rgb(191, 201, 80) |
| HSL | hsl(65, 53%, 55%) |
| CMYK | cmyk(5%, 0%, 60%, 21%) |
| LAB | lab(78.1 -19.5 57.6) |
| LCH | lch(78.1 60.9 108.7) |
| OKLCH | oklch(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);