#b5ff21
a balanced, electric green · cool · closest name: yellow
RGB
181, 255, 33
HSL
80°, 100%, 57%
CMYK
29, 0, 87, 0
Luminance
0.8145
Every format
| HEX | #b5ff21 |
| RGB | rgb(181, 255, 33) |
| HSL | hsl(80, 100%, 57%) |
| CMYK | cmyk(29%, 0%, 87%, 0%) |
| LAB | lab(92.3 -50.1 85.2) |
| LCH | lch(92.3 98.8 120.4) |
| OKLCH | oklch(0.917 0.234 128.2) |
Copy-ready code
/* CSS */
color: #b5ff21;
background-color: #b5ff21;
/* Tailwind (arbitrary) */
class="text-[#b5ff21] bg-[#b5ff21]"
/* SCSS */
$brand: #b5ff21;
/* SwiftUI */
Color(red: 0.710, green: 1.000, blue: 0.129)
/* Android */
Color.parseColor("#b5ff21")Accessibility — WCAG contrast
Aa
#b5ff21 on white: 1.21:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b5ff21 on black: 17.29:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red71.0%
Green100.0%
Blue12.9%
CMYK percentages
Cyan29.0%
Magenta0.0%
Yellow87.1%
Key (black)0.0%
Color previews
#b5ff21 text on a black background
contrast 17.29:1
Card sample
#b5ff21 text on a white background
contrast 1.21:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b5ff21;
Background color
Panel with #b5ff21 background
background-color: #b5ff21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b5ff21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(181, 255, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(181, 255, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b5ff21; background: linear-gradient(135deg, #b5ff21, #21FF21);