#bdf331
a balanced, electric green · cool · closest name: yellow
RGB
189, 243, 49
HSL
77°, 89%, 57%
CMYK
22, 0, 80, 5
Luminance
0.7514
Every format
| HEX | #bdf331 |
| RGB | rgb(189, 243, 49) |
| HSL | hsl(77, 89%, 57%) |
| CMYK | cmyk(22%, 0%, 80%, 5%) |
| LAB | lab(89.5 -41.5 79.5) |
| LCH | lch(89.5 89.7 117.6) |
| OKLCH | oklch(0.895 0.212 124.9) |
Copy-ready code
/* CSS */
color: #bdf331;
background-color: #bdf331;
/* Tailwind (arbitrary) */
class="text-[#bdf331] bg-[#bdf331]"
/* SCSS */
$brand: #bdf331;
/* SwiftUI */
Color(red: 0.741, green: 0.953, blue: 0.192)
/* Android */
Color.parseColor("#bdf331")Accessibility — WCAG contrast
Aa
#bdf331 on white: 1.31:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bdf331 on black: 16.03:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.1%
Green95.3%
Blue19.2%
CMYK percentages
Cyan22.2%
Magenta0.0%
Yellow79.8%
Key (black)4.7%
Color previews
#bdf331 text on a black background
contrast 16.03:1
Card sample
#bdf331 text on a white background
contrast 1.31:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bdf331;
Background color
Panel with #bdf331 background
background-color: #bdf331;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bdf331;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(189, 243, 49, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(189, 243, 49, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bdf331; background: linear-gradient(135deg, #bdf331, #3CF331);