#bdf321
a balanced, electric green · cool · closest name: yellow
RGB
189, 243, 33
HSL
75°, 90%, 54%
CMYK
22, 0, 86, 5
Luminance
0.7503
Every format
| HEX | #bdf321 |
| RGB | rgb(189, 243, 33) |
| HSL | hsl(75, 90%, 54%) |
| CMYK | cmyk(22%, 0%, 86%, 5%) |
| LAB | lab(89.4 -42.0 83.0) |
| LCH | lch(89.4 93.0 116.8) |
| OKLCH | oklch(0.894 0.217 124.6) |
Copy-ready code
/* CSS */
color: #bdf321;
background-color: #bdf321;
/* Tailwind (arbitrary) */
class="text-[#bdf321] bg-[#bdf321]"
/* SCSS */
$brand: #bdf321;
/* SwiftUI */
Color(red: 0.741, green: 0.953, blue: 0.129)
/* Android */
Color.parseColor("#bdf321")Accessibility — WCAG contrast
Aa
#bdf321 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf321 on black: 16.01:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green95.3%
Blue12.9%
CMYK percentages
Cyan22.2%
Magenta0.0%
Yellow86.4%
Key (black)4.7%
Color previews
#bdf321 text on a black background
contrast 16.01:1
Card sample
#bdf321 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf321;
Background color
Panel with #bdf321 background
background-color: #bdf321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 243, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 243, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf321; background: linear-gradient(135deg, #bdf321, #31F321);