#bdf508
a balanced, electric green · cool · closest name: yellow
RGB
189, 245, 8
HSL
74°, 94%, 50%
CMYK
23, 0, 97, 4
Luminance
0.7614
Every format
| HEX | #bdf508 |
| RGB | rgb(189, 245, 8) |
| HSL | hsl(74, 94%, 50%) |
| CMYK | cmyk(23%, 0%, 97%, 4%) |
| LAB | lab(89.9 -43.3 86.5) |
| LCH | lch(89.9 96.7 116.6) |
| OKLCH | oklch(0.899 0.224 124.7) |
Copy-ready code
/* CSS */
color: #bdf508;
background-color: #bdf508;
/* Tailwind (arbitrary) */
class="text-[#bdf508] bg-[#bdf508]"
/* SCSS */
$brand: #bdf508;
/* SwiftUI */
Color(red: 0.741, green: 0.961, blue: 0.031)
/* Android */
Color.parseColor("#bdf508")Accessibility — WCAG contrast
Aa
#bdf508 on white: 1.29:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf508 on black: 16.23:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green96.1%
Blue3.1%
CMYK percentages
Cyan22.9%
Magenta0.0%
Yellow96.7%
Key (black)3.9%
Color previews
#bdf508 text on a black background
contrast 16.23:1
Card sample
#bdf508 text on a white background
contrast 1.29:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf508;
Background color
Panel with #bdf508 background
background-color: #bdf508;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf508;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 245, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 245, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf508; background: linear-gradient(135deg, #bdf508, #1FF508);