#bef721
a balanced, electric green · cool · closest name: yellow
RGB
190, 247, 33
HSL
76°, 93%, 55%
CMYK
23, 0, 87, 3
Luminance
0.7758
Every format
| HEX | #bef721 |
| RGB | rgb(190, 247, 33) |
| HSL | hsl(76, 93%, 55%) |
| CMYK | cmyk(23%, 0%, 87%, 3%) |
| LAB | lab(90.6 -43.4 84.0) |
| LCH | lch(90.6 94.5 117.3) |
| OKLCH | oklch(0.904 0.221 125.1) |
Copy-ready code
/* CSS */
color: #bef721;
background-color: #bef721;
/* Tailwind (arbitrary) */
class="text-[#bef721] bg-[#bef721]"
/* SCSS */
$brand: #bef721;
/* SwiftUI */
Color(red: 0.745, green: 0.969, blue: 0.129)
/* Android */
Color.parseColor("#bef721")Accessibility — WCAG contrast
Aa
#bef721 on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bef721 on black: 16.52:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green96.9%
Blue12.9%
CMYK percentages
Cyan23.1%
Magenta0.0%
Yellow86.6%
Key (black)3.1%
Color previews
#bef721 text on a black background
contrast 16.52:1
Card sample
#bef721 text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bef721;
Background color
Panel with #bef721 background
background-color: #bef721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bef721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 247, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 247, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bef721; background: linear-gradient(135deg, #bef721, #2FF721);