#bdf20d
a balanced, electric green · cool · closest name: yellow
RGB
189, 242, 13
HSL
74°, 90%, 50%
CMYK
22, 0, 95, 5
Luminance
0.7435
Every format
| HEX | #bdf20d |
| RGB | rgb(189, 242, 13) |
| HSL | hsl(74, 90%, 50%) |
| CMYK | cmyk(22%, 0%, 95%, 5%) |
| LAB | lab(89.1 -41.9 85.4) |
| LCH | lch(89.1 95.2 116.1) |
| OKLCH | oklch(0.892 0.220 124.2) |
Copy-ready code
/* CSS */
color: #bdf20d;
background-color: #bdf20d;
/* Tailwind (arbitrary) */
class="text-[#bdf20d] bg-[#bdf20d]"
/* SCSS */
$brand: #bdf20d;
/* SwiftUI */
Color(red: 0.741, green: 0.949, blue: 0.051)
/* Android */
Color.parseColor("#bdf20d")Accessibility — WCAG contrast
Aa
#bdf20d on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf20d on black: 15.87:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green94.9%
Blue5.1%
CMYK percentages
Cyan21.9%
Magenta0.0%
Yellow94.6%
Key (black)5.1%
Color previews
#bdf20d text on a black background
contrast 15.87:1
Card sample
#bdf20d text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf20d;
Background color
Panel with #bdf20d background
background-color: #bdf20d;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf20d;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 242, 13, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 242, 13, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf20d; background: linear-gradient(135deg, #bdf20d, #24F20D);