#b2ef1f
a balanced, electric green · cool · closest name: yellow
RGB
178, 239, 31
HSL
78°, 87%, 53%
CMYK
26, 0, 87, 6
Luminance
0.7130
Every format
| HEX | #b2ef1f |
| RGB | rgb(178, 239, 31) |
| HSL | hsl(78, 87%, 53%) |
| CMYK | cmyk(26%, 0%, 87%, 6%) |
| LAB | lab(87.6 -44.5 81.6) |
| LCH | lch(87.6 92.9 118.6) |
| OKLCH | oklch(0.878 0.218 126.4) |
Copy-ready code
/* CSS */
color: #b2ef1f;
background-color: #b2ef1f;
/* Tailwind (arbitrary) */
class="text-[#b2ef1f] bg-[#b2ef1f]"
/* SCSS */
$brand: #b2ef1f;
/* SwiftUI */
Color(red: 0.698, green: 0.937, blue: 0.122)
/* Android */
Color.parseColor("#b2ef1f")Accessibility — WCAG contrast
Aa
#b2ef1f on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2ef1f on black: 15.26:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green93.7%
Blue12.2%
CMYK percentages
Cyan25.5%
Magenta0.0%
Yellow87.0%
Key (black)6.3%
Color previews
#b2ef1f text on a black background
contrast 15.26:1
Card sample
#b2ef1f text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2ef1f;
Background color
Panel with #b2ef1f background
background-color: #b2ef1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2ef1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2ef1f; background: linear-gradient(135deg, #b2ef1f, #27EF1F);