#bfcf49
a balanced, vivid yellow · cool · closest name: khaki
RGB
191, 207, 73
HSL
67°, 58%, 55%
CMYK
8, 0, 65, 19
Luminance
0.5618
Every format
| HEX | #bfcf49 |
| RGB | rgb(191, 207, 73) |
| HSL | hsl(67, 58%, 55%) |
| CMYK | cmyk(8%, 0%, 65%, 19%) |
| LAB | lab(79.7 -22.9 62.3) |
| LCH | lch(79.7 66.3 110.2) |
| OKLCH | oklch(0.817 0.157 115.8) |
Copy-ready code
/* CSS */
color: #bfcf49;
background-color: #bfcf49;
/* Tailwind (arbitrary) */
class="text-[#bfcf49] bg-[#bfcf49]"
/* SCSS */
$brand: #bfcf49;
/* SwiftUI */
Color(red: 0.749, green: 0.812, blue: 0.286)
/* Android */
Color.parseColor("#bfcf49")Accessibility — WCAG contrast
Aa
#bfcf49 on white: 1.72:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfcf49 on black: 12.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green81.2%
Blue28.6%
CMYK percentages
Cyan7.7%
Magenta0.0%
Yellow64.7%
Key (black)18.8%
Color previews
#bfcf49 text on a black background
contrast 12.24:1
Card sample
#bfcf49 text on a white background
contrast 1.72:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfcf49;
Background color
Panel with #bfcf49 background
background-color: #bfcf49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfcf49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 207, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 207, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfcf49; background: linear-gradient(135deg, #bfcf49, #66CF49);