#bdf151
a balanced, electric green · cool · closest name: yellow
RGB
189, 241, 81
HSL
80°, 85%, 63%
CMYK
22, 0, 66, 6
Luminance
0.7432
Every format
| HEX | #bdf151 |
| RGB | rgb(189, 241, 81) |
| HSL | hsl(80, 85%, 63%) |
| CMYK | cmyk(22%, 0%, 66%, 6%) |
| LAB | lab(89.1 -39.0 68.8) |
| LCH | lch(89.1 79.1 119.5) |
| OKLCH | oklch(0.892 0.192 125.7) |
Copy-ready code
/* CSS */
color: #bdf151;
background-color: #bdf151;
/* Tailwind (arbitrary) */
class="text-[#bdf151] bg-[#bdf151]"
/* SCSS */
$brand: #bdf151;
/* SwiftUI */
Color(red: 0.741, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#bdf151")Accessibility — WCAG contrast
Aa
#bdf151 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf151 on black: 15.86:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green94.5%
Blue31.8%
CMYK percentages
Cyan21.6%
Magenta0.0%
Yellow66.4%
Key (black)5.5%
Color previews
#bdf151 text on a black background
contrast 15.86:1
Card sample
#bdf151 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf151;
Background color
Panel with #bdf151 background
background-color: #bdf151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf151; background: linear-gradient(135deg, #bdf151, #52F151);