#b4e310
a balanced, electric green · cool · closest name: yellow
RGB
180, 227, 16
HSL
73°, 87%, 48%
CMYK
21, 0, 93, 11
Luminance
0.6468
Every format
| HEX | #b4e310 |
| RGB | rgb(180, 227, 16) |
| HSL | hsl(73, 87%, 48%) |
| CMYK | cmyk(21%, 0%, 93%, 11%) |
| LAB | lab(84.3 -38.8 81.2) |
| LCH | lch(84.3 89.9 115.5) |
| OKLCH | oklch(0.852 0.208 123.5) |
Copy-ready code
/* CSS */
color: #b4e310;
background-color: #b4e310;
/* Tailwind (arbitrary) */
class="text-[#b4e310] bg-[#b4e310]"
/* SCSS */
$brand: #b4e310;
/* SwiftUI */
Color(red: 0.706, green: 0.890, blue: 0.063)
/* Android */
Color.parseColor("#b4e310")Accessibility — WCAG contrast
Aa
#b4e310 on white: 1.51:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b4e310 on black: 13.94:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red70.6%
Green89.0%
Blue6.3%
CMYK percentages
Cyan20.7%
Magenta0.0%
Yellow93.0%
Key (black)11.0%
Color previews
#b4e310 text on a black background
contrast 13.94:1
Card sample
#b4e310 text on a white background
contrast 1.51:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b4e310;
Background color
Panel with #b4e310 background
background-color: #b4e310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b4e310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(180, 227, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(180, 227, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b4e310; background: linear-gradient(135deg, #b4e310, #27E310);