#31df39
a balanced, vivid green · cool · closest name: lime
RGB
49, 223, 57
HSL
123°, 73%, 53%
CMYK
78, 0, 74, 13
Luminance
0.5372
Every format
| HEX | #31df39 |
| RGB | rgb(49, 223, 57) |
| HSL | hsl(123, 73%, 53%) |
| CMYK | cmyk(78%, 0%, 74%, 13%) |
| LAB | lab(78.3 -72.2 64.8) |
| LCH | lch(78.3 97.0 138.1) |
| OKLCH | oklch(0.789 0.244 143.3) |
Copy-ready code
/* CSS */
color: #31df39;
background-color: #31df39;
/* Tailwind (arbitrary) */
class="text-[#31df39] bg-[#31df39]"
/* SCSS */
$brand: #31df39;
/* SwiftUI */
Color(red: 0.192, green: 0.875, blue: 0.224)
/* Android */
Color.parseColor("#31df39")Accessibility — WCAG contrast
Aa
#31df39 on white: 1.79:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#31df39 on black: 11.74:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.2%
Green87.5%
Blue22.4%
CMYK percentages
Cyan78.0%
Magenta0.0%
Yellow74.4%
Key (black)12.5%
Color previews
#31df39 text on a black background
contrast 11.74:1
Card sample
#31df39 text on a white background
contrast 1.79:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #31df39;
Background color
Panel with #31df39 background
background-color: #31df39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #31df39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(49, 223, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 223, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31df39; background: linear-gradient(135deg, #31df39, #31DFAD);