Skip to content

#31fd49

a balanced, electric green · cool · closest name: lime

RGB
49, 253, 73
HSL
127°, 98%, 59%
CMYK
81, 0, 71, 1
Luminance
0.7138

Every format

HEX#31fd49
RGBrgb(49, 253, 73)
HSLhsl(127, 98%, 59%)
CMYKcmyk(81%, 0%, 71%, 1%)
LABlab(87.7 -79.8 68.8)
LCHlch(87.7 105.4 139.3)
OKLCHoklch(0.868 0.266 144.1)

Copy-ready code

/* CSS */
color: #31fd49;
background-color: #31fd49;
/* Tailwind (arbitrary) */
class="text-[#31fd49] bg-[#31fd49]"
/* SCSS */
$brand: #31fd49;
/* SwiftUI */
Color(red: 0.192, green: 0.992, blue: 0.286)
/* Android */
Color.parseColor("#31fd49")

Accessibility — WCAG contrast

Aa
#31fd49 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#31fd49 on black: 15.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green99.2%
Blue28.6%

CMYK percentages

Cyan80.6%
Magenta0.0%
Yellow71.1%
Key (black)0.8%

Color previews

#31fd49 text on a black background

contrast 15.28:1

Card sample

#31fd49 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #31fd49;
Background color
Panel with #31fd49 background
background-color: #31fd49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #31fd49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(49, 253, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 253, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31fd49;
background: linear-gradient(135deg, #31fd49, #31FDD1);

Monochromatic scale

Palettes built from #31fd49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #31fd49 in the Color Lab