#bef921
a balanced, electric green · cool · closest name: yellow
RGB
190, 249, 33
HSL
76°, 95%, 55%
CMYK
24, 0, 87, 2
Luminance
0.7881
Every format
| HEX | #bef921 |
| RGB | rgb(190, 249, 33) |
| HSL | hsl(76, 95%, 55%) |
| CMYK | cmyk(24%, 0%, 87%, 2%) |
| LAB | lab(91.2 -44.2 84.4) |
| LCH | lch(91.2 95.3 117.6) |
| OKLCH | oklch(0.909 0.223 125.4) |
Copy-ready code
/* CSS */
color: #bef921;
background-color: #bef921;
/* Tailwind (arbitrary) */
class="text-[#bef921] bg-[#bef921]"
/* SCSS */
$brand: #bef921;
/* SwiftUI */
Color(red: 0.745, green: 0.976, blue: 0.129)
/* Android */
Color.parseColor("#bef921")Accessibility — WCAG contrast
Aa
#bef921 on white: 1.25:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bef921 on black: 16.76:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green97.6%
Blue12.9%
CMYK percentages
Cyan23.7%
Magenta0.0%
Yellow86.7%
Key (black)2.4%
Color previews
#bef921 text on a black background
contrast 16.76:1
Card sample
#bef921 text on a white background
contrast 1.25:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bef921;
Background color
Panel with #bef921 background
background-color: #bef921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bef921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 249, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 249, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bef921; background: linear-gradient(135deg, #bef921, #2EF921);