#31ce21
a balanced, vivid green · cool · closest name: lime
RGB
49, 206, 33
HSL
115°, 72%, 47%
CMYK
76, 0, 84, 19
Luminance
0.4491
Every format
| HEX | #31ce21 |
| RGB | rgb(49, 206, 33) |
| HSL | hsl(115, 72%, 47%) |
| CMYK | cmyk(76%, 0%, 84%, 19%) |
| LAB | lab(72.8 -68.6 66.5) |
| LCH | lch(72.8 95.5 135.9) |
| OKLCH | oklch(0.743 0.237 141.9) |
Copy-ready code
/* CSS */
color: #31ce21;
background-color: #31ce21;
/* Tailwind (arbitrary) */
class="text-[#31ce21] bg-[#31ce21]"
/* SCSS */
$brand: #31ce21;
/* SwiftUI */
Color(red: 0.192, green: 0.808, blue: 0.129)
/* Android */
Color.parseColor("#31ce21")Accessibility — WCAG contrast
Aa
#31ce21 on white: 2.10:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#31ce21 on black: 9.98:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red19.2%
Green80.8%
Blue12.9%
CMYK percentages
Cyan76.2%
Magenta0.0%
Yellow84.0%
Key (black)19.2%
Color previews
#31ce21 text on a black background
contrast 9.98:1
Card sample
#31ce21 text on a white background
contrast 2.10:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #31ce21;
Background color
Panel with #31ce21 background
background-color: #31ce21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #31ce21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(49, 206, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 206, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31ce21; background: linear-gradient(135deg, #31ce21, #21CE85);