#bfc921
a balanced, vivid yellow · cool · closest name: gold
RGB
191, 201, 33
HSL
64°, 72%, 46%
CMYK
5, 0, 84, 21
Luminance
0.5296
Every format
| HEX | #bfc921 |
| RGB | rgb(191, 201, 33) |
| HSL | hsl(64, 72%, 46%) |
| CMYK | cmyk(5%, 0%, 84%, 21%) |
| LAB | lab(77.8 -21.7 73.4) |
| LCH | lch(77.8 76.5 106.5) |
| OKLCH | oklch(0.802 0.172 113.4) |
Copy-ready code
/* CSS */
color: #bfc921;
background-color: #bfc921;
/* Tailwind (arbitrary) */
class="text-[#bfc921] bg-[#bfc921]"
/* SCSS */
$brand: #bfc921;
/* SwiftUI */
Color(red: 0.749, green: 0.788, blue: 0.129)
/* Android */
Color.parseColor("#bfc921")Accessibility — WCAG contrast
Aa
#bfc921 on white: 1.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfc921 on black: 11.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green78.8%
Blue12.9%
CMYK percentages
Cyan5.0%
Magenta0.0%
Yellow83.6%
Key (black)21.2%
Color previews
#bfc921 text on a black background
contrast 11.59:1
Card sample
#bfc921 text on a white background
contrast 1.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfc921;
Background color
Panel with #bfc921 background
background-color: #bfc921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfc921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 201, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 201, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfc921; background: linear-gradient(135deg, #bfc921, #4FC921);