#bdf302
a balanced, electric green · cool · closest name: yellow
RGB
189, 243, 2
HSL
73°, 98%, 48%
CMYK
22, 0, 99, 5
Luminance
0.7492
Every format
| HEX | #bdf302 |
| RGB | rgb(189, 243, 2) |
| HSL | hsl(73, 98%, 48%) |
| CMYK | cmyk(22%, 0%, 99%, 5%) |
| LAB | lab(89.4 -42.5 86.5) |
| LCH | lch(89.4 96.4 116.1) |
| OKLCH | oklch(0.894 0.223 124.3) |
Copy-ready code
/* CSS */
color: #bdf302;
background-color: #bdf302;
/* Tailwind (arbitrary) */
class="text-[#bdf302] bg-[#bdf302]"
/* SCSS */
$brand: #bdf302;
/* SwiftUI */
Color(red: 0.741, green: 0.953, blue: 0.008)
/* Android */
Color.parseColor("#bdf302")Accessibility — WCAG contrast
Aa
#bdf302 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf302 on black: 15.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green95.3%
Blue0.8%
CMYK percentages
Cyan22.2%
Magenta0.0%
Yellow99.2%
Key (black)4.7%
Color previews
#bdf302 text on a black background
contrast 15.98:1
Card sample
#bdf302 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf302;
Background color
Panel with #bdf302 background
background-color: #bdf302;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf302;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 243, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 243, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf302; background: linear-gradient(135deg, #bdf302, #1CF302);