#bdf828
a balanced, electric green · cool · closest name: yellow
RGB
189, 248, 40
HSL
77°, 94%, 57%
CMYK
24, 0, 84, 3
Luminance
0.7811
Every format
| HEX | #bdf828 |
| RGB | rgb(189, 248, 40) |
| HSL | hsl(77, 94%, 57%) |
| CMYK | cmyk(24%, 0%, 84%, 3%) |
| LAB | lab(90.8 -44.0 82.8) |
| LCH | lch(90.8 93.7 118.0) |
| OKLCH | oklch(0.906 0.221 125.6) |
Copy-ready code
/* CSS */
color: #bdf828;
background-color: #bdf828;
/* Tailwind (arbitrary) */
class="text-[#bdf828] bg-[#bdf828]"
/* SCSS */
$brand: #bdf828;
/* SwiftUI */
Color(red: 0.741, green: 0.973, blue: 0.157)
/* Android */
Color.parseColor("#bdf828")Accessibility — WCAG contrast
Aa
#bdf828 on white: 1.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf828 on black: 16.62:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green97.3%
Blue15.7%
CMYK percentages
Cyan23.8%
Magenta0.0%
Yellow83.9%
Key (black)2.7%
Color previews
#bdf828 text on a black background
contrast 16.62:1
Card sample
#bdf828 text on a white background
contrast 1.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf828;
Background color
Panel with #bdf828 background
background-color: #bdf828;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf828;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 248, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 248, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf828; background: linear-gradient(135deg, #bdf828, #33F828);