#b1fa21
a balanced, electric green · cool · closest name: yellow
RGB
177, 250, 33
HSL
80°, 96%, 56%
CMYK
29, 0, 87, 2
Luminance
0.7783
Every format
| HEX | #b1fa21 |
| RGB | rgb(177, 250, 33) |
| HSL | hsl(80, 96%, 56%) |
| CMYK | cmyk(29%, 0%, 87%, 2%) |
| LAB | lab(90.7 -49.4 83.8) |
| LCH | lch(90.7 97.3 120.5) |
| OKLCH | oklch(0.903 0.231 128.3) |
Copy-ready code
/* CSS */
color: #b1fa21;
background-color: #b1fa21;
/* Tailwind (arbitrary) */
class="text-[#b1fa21] bg-[#b1fa21]"
/* SCSS */
$brand: #b1fa21;
/* SwiftUI */
Color(red: 0.694, green: 0.980, blue: 0.129)
/* Android */
Color.parseColor("#b1fa21")Accessibility — WCAG contrast
Aa
#b1fa21 on white: 1.27:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b1fa21 on black: 16.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.4%
Green98.0%
Blue12.9%
CMYK percentages
Cyan29.2%
Magenta0.0%
Yellow86.8%
Key (black)2.0%
Color previews
#b1fa21 text on a black background
contrast 16.57:1
Card sample
#b1fa21 text on a white background
contrast 1.27:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b1fa21;
Background color
Panel with #b1fa21 background
background-color: #b1fa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b1fa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(177, 250, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(177, 250, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b1fa21; background: linear-gradient(135deg, #b1fa21, #21FA22);