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