#31ff89
a balanced, electric green · cool · closest name: lime
RGB
49, 255, 137
HSL
146°, 100%, 60%
CMYK
81, 0, 46, 0
Luminance
0.7398
Every format
| HEX | #31ff89 |
| RGB | rgb(49, 255, 137) |
| HSL | hsl(146, 100%, 60%) |
| CMYK | cmyk(81%, 0%, 46%, 0%) |
| LAB | lab(88.9 -72.8 42.9) |
| LCH | lch(88.9 84.5 149.5) |
| OKLCH | oklch(0.880 0.222 151.7) |
Copy-ready code
/* CSS */
color: #31ff89;
background-color: #31ff89;
/* Tailwind (arbitrary) */
class="text-[#31ff89] bg-[#31ff89]"
/* SCSS */
$brand: #31ff89;
/* SwiftUI */
Color(red: 0.192, green: 1.000, blue: 0.537)
/* Android */
Color.parseColor("#31ff89")Accessibility — WCAG contrast
Aa
#31ff89 on white: 1.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#31ff89 on black: 15.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.2%
Green100.0%
Blue53.7%
CMYK percentages
Cyan80.8%
Magenta0.0%
Yellow46.3%
Key (black)0.0%
Color previews
#31ff89 text on a black background
contrast 15.80:1
Card sample
#31ff89 text on a white background
contrast 1.33:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #31ff89;
Background color
Panel with #31ff89 background
background-color: #31ff89;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #31ff89;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(49, 255, 137, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 255, 137, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31ff89; background: linear-gradient(135deg, #31ff89, #31ECFF);