#b9e310
a balanced, electric green · cool · closest name: yellow
RGB
185, 227, 16
HSL
72°, 87%, 48%
CMYK
19, 0, 93, 11
Luminance
0.6529
Every format
| HEX | #b9e310 |
| RGB | rgb(185, 227, 16) |
| HSL | hsl(72, 87%, 48%) |
| CMYK | cmyk(19%, 0%, 93%, 11%) |
| LAB | lab(84.6 -36.8 81.5) |
| LCH | lch(84.6 89.5 114.3) |
| OKLCH | oklch(0.855 0.206 122.2) |
Copy-ready code
/* CSS */
color: #b9e310;
background-color: #b9e310;
/* Tailwind (arbitrary) */
class="text-[#b9e310] bg-[#b9e310]"
/* SCSS */
$brand: #b9e310;
/* SwiftUI */
Color(red: 0.725, green: 0.890, blue: 0.063)
/* Android */
Color.parseColor("#b9e310")Accessibility — WCAG contrast
Aa
#b9e310 on white: 1.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#b9e310 on black: 14.06:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.5%
Green89.0%
Blue6.3%
CMYK percentages
Cyan18.5%
Magenta0.0%
Yellow93.0%
Key (black)11.0%
Color previews
#b9e310 text on a black background
contrast 14.06:1
Card sample
#b9e310 text on a white background
contrast 1.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #b9e310;
Background color
Panel with #b9e310 background
background-color: #b9e310;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #b9e310;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(185, 227, 16, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 227, 16, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b9e310; background: linear-gradient(135deg, #b9e310, #2CE310);