#b2f005
a balanced, electric green · cool · closest name: yellow
RGB
178, 240, 5
HSL
76°, 96%, 48%
CMYK
26, 0, 98, 6
Luminance
0.7180
Every format
| HEX | #b2f005 |
| RGB | rgb(178, 240, 5) |
| HSL | hsl(76, 96%, 48%) |
| CMYK | cmyk(26%, 0%, 98%, 6%) |
| LAB | lab(87.9 -45.3 84.8) |
| LCH | lch(87.9 96.2 118.1) |
| OKLCH | oklch(0.880 0.224 126.3) |
Copy-ready code
/* CSS */
color: #b2f005;
background-color: #b2f005;
/* Tailwind (arbitrary) */
class="text-[#b2f005] bg-[#b2f005]"
/* SCSS */
$brand: #b2f005;
/* SwiftUI */
Color(red: 0.698, green: 0.941, blue: 0.020)
/* Android */
Color.parseColor("#b2f005")Accessibility — WCAG contrast
Aa
#b2f005 on white: 1.37:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b2f005 on black: 15.36:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red69.8%
Green94.1%
Blue2.0%
CMYK percentages
Cyan25.8%
Magenta0.0%
Yellow97.9%
Key (black)5.9%
Color previews
#b2f005 text on a black background
contrast 15.36:1
Card sample
#b2f005 text on a white background
contrast 1.37:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b2f005;
Background color
Panel with #b2f005 background
background-color: #b2f005;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b2f005;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(178, 240, 5, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(178, 240, 5, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b2f005; background: linear-gradient(135deg, #b2f005, #15F005);