#bfc949
a balanced, vivid yellow · cool · closest name: khaki
RGB
191, 201, 73
HSL
65°, 54%, 54%
CMYK
5, 0, 64, 21
Luminance
0.5333
Every format
| HEX | #bfc949 |
| RGB | rgb(191, 201, 73) |
| HSL | hsl(65, 54%, 54%) |
| CMYK | cmyk(5%, 0%, 64%, 21%) |
| LAB | lab(78.1 -19.9 60.5) |
| LCH | lch(78.1 63.7 108.2) |
| OKLCH | oklch(0.804 0.150 113.5) |
Copy-ready code
/* CSS */
color: #bfc949;
background-color: #bfc949;
/* Tailwind (arbitrary) */
class="text-[#bfc949] bg-[#bfc949]"
/* SCSS */
$brand: #bfc949;
/* SwiftUI */
Color(red: 0.749, green: 0.788, blue: 0.286)
/* Android */
Color.parseColor("#bfc949")Accessibility — WCAG contrast
Aa
#bfc949 on white: 1.80:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfc949 on black: 11.67:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green78.8%
Blue28.6%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow63.7%
Key (black)21.2%
Color previews
#bfc949 text on a black background
contrast 11.67:1
Card sample
#bfc949 text on a white background
contrast 1.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfc949;
Background color
Panel with #bfc949 background
background-color: #bfc949;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfc949;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 201, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 201, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfc949; background: linear-gradient(135deg, #bfc949, #6AC949);