#b2ff20
a balanced, electric green · cool · closest name: yellow
RGB
178, 255, 32
HSL
81°, 100%, 56%
CMYK
30, 0, 88, 0
Luminance
0.8109
Every format
| HEX | #b2ff20 |
| RGB | rgb(178, 255, 32) |
| HSL | hsl(81, 100%, 56%) |
| CMYK | cmyk(30%, 0%, 88%, 0%) |
| LAB | lab(92.2 -51.2 85.2) |
| LCH | lch(92.2 99.4 121.0) |
| OKLCH | oklch(0.915 0.236 128.8) |
Copy-ready code
/* CSS */
color: #b2ff20;
background-color: #b2ff20;
/* Tailwind (arbitrary) */
class="text-[#b2ff20] bg-[#b2ff20]"
/* SCSS */
$brand: #b2ff20;
/* SwiftUI */
Color(red: 0.698, green: 1.000, blue: 0.125)
/* Android */
Color.parseColor("#b2ff20")Accessibility — WCAG contrast
Aa
#b2ff20 on white: 1.22:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2ff20 on black: 17.22:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green100.0%
Blue12.5%
CMYK percentages
Cyan30.2%
Magenta0.0%
Yellow87.5%
Key (black)0.0%
Color previews
#b2ff20 text on a black background
contrast 17.22:1
Card sample
#b2ff20 text on a white background
contrast 1.22:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2ff20;
Background color
Panel with #b2ff20 background
background-color: #b2ff20;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2ff20;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 255, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 255, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ff20; background: linear-gradient(135deg, #b2ff20, #20FF23);