#b2f151
a balanced, electric green · cool · closest name: yellow
RGB
178, 241, 81
HSL
84°, 85%, 63%
CMYK
26, 0, 66, 6
Luminance
0.7297
Every format
| HEX | #b2f151 |
| RGB | rgb(178, 241, 81) |
| HSL | hsl(84, 85%, 63%) |
| CMYK | cmyk(26%, 0%, 66%, 6%) |
| LAB | lab(88.4 -43.0 68.0) |
| LCH | lch(88.4 80.5 122.3) |
| OKLCH | oklch(0.886 0.197 128.4) |
Copy-ready code
/* CSS */
color: #b2f151;
background-color: #b2f151;
/* Tailwind (arbitrary) */
class="text-[#b2f151] bg-[#b2f151]"
/* SCSS */
$brand: #b2f151;
/* SwiftUI */
Color(red: 0.698, green: 0.945, blue: 0.318)
/* Android */
Color.parseColor("#b2f151")Accessibility — WCAG contrast
Aa
#b2f151 on white: 1.35:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2f151 on black: 15.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green94.5%
Blue31.8%
CMYK percentages
Cyan26.1%
Magenta0.0%
Yellow66.4%
Key (black)5.5%
Color previews
#b2f151 text on a black background
contrast 15.59:1
Card sample
#b2f151 text on a white background
contrast 1.35:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2f151;
Background color
Panel with #b2f151 background
background-color: #b2f151;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2f151;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 241, 81, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 241, 81, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f151; background: linear-gradient(135deg, #b2f151, #51F15A);