#bef080
a light, electric green · cool · closest name: khaki
RGB
190, 240, 128
HSL
87°, 79%, 72%
CMYK
21, 0, 47, 6
Luminance
0.7483
Every format
| HEX | #bef080 |
| RGB | rgb(190, 240, 128) |
| HSL | hsl(87, 79%, 72%) |
| CMYK | cmyk(21%, 0%, 47%, 6%) |
| LAB | lab(89.3 -34.0 48.7) |
| LCH | lch(89.3 59.4 124.9) |
| OKLCH | oklch(0.896 0.151 128.8) |
Copy-ready code
/* CSS */
color: #bef080;
background-color: #bef080;
/* Tailwind (arbitrary) */
class="text-[#bef080] bg-[#bef080]"
/* SCSS */
$brand: #bef080;
/* SwiftUI */
Color(red: 0.745, green: 0.941, blue: 0.502)
/* Android */
Color.parseColor("#bef080")Accessibility — WCAG contrast
Aa
#bef080 on white: 1.32:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bef080 on black: 15.97:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red74.5%
Green94.1%
Blue50.2%
CMYK percentages
Cyan20.8%
Magenta0.0%
Yellow46.7%
Key (black)5.9%
Color previews
#bef080 text on a black background
contrast 15.97:1
Card sample
#bef080 text on a white background
contrast 1.32:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bef080;
Background color
Panel with #bef080 background
background-color: #bef080;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bef080;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(190, 240, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(190, 240, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bef080; background: linear-gradient(135deg, #bef080, #80F08D);