#bfcf21
a balanced, vivid yellow · cool · closest name: yellow
RGB
191, 207, 33
HSL
66°, 73%, 47%
CMYK
8, 0, 84, 19
Luminance
0.5581
Every format
| HEX | #bfcf21 |
| RGB | rgb(191, 207, 33) |
| HSL | hsl(66, 73%, 47%) |
| CMYK | cmyk(8%, 0%, 84%, 19%) |
| LAB | lab(79.5 -24.7 74.8) |
| LCH | lch(79.5 78.7 108.3) |
| OKLCH | oklch(0.815 0.178 115.4) |
Copy-ready code
/* CSS */
color: #bfcf21;
background-color: #bfcf21;
/* Tailwind (arbitrary) */
class="text-[#bfcf21] bg-[#bfcf21]"
/* SCSS */
$brand: #bfcf21;
/* SwiftUI */
Color(red: 0.749, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#bfcf21")Accessibility — WCAG contrast
Aa
#bfcf21 on white: 1.73:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bfcf21 on black: 12.16:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.9%
Green81.2%
Blue12.9%
CMYK percentages
Cyan7.7%
Magenta0.0%
Yellow84.1%
Key (black)18.8%
Color previews
#bfcf21 text on a black background
contrast 12.16:1
Card sample
#bfcf21 text on a white background
contrast 1.73:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bfcf21;
Background color
Panel with #bfcf21 background
background-color: #bfcf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bfcf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(191, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(191, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bfcf21; background: linear-gradient(135deg, #bfcf21, #4BCF21);