Skip to content

#31ef21

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

RGB
49, 239, 33
HSL
115°, 87%, 53%
CMYK
80, 0, 86, 6
Luminance
0.6250

Every format

HEX#31ef21
RGBrgb(49, 239, 33)
HSLhsl(115, 87%, 53%)
CMYKcmyk(80%, 0%, 86%, 6%)
LABlab(83.2 -78.2 75.7)
LCHlch(83.2 108.8 135.9)
OKLCHoklch(0.830 0.270 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#31ef21 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#31ef21 on black: 13.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green93.7%
Blue12.9%

CMYK percentages

Cyan79.5%
Magenta0.0%
Yellow86.2%
Key (black)6.3%

Color previews

#31ef21 text on a black background

contrast 13.50:1

Card sample

#31ef21 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31ef21;
background: linear-gradient(135deg, #31ef21, #21EF9A);

Monochromatic scale

Palettes built from #31ef21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #31ef21 in the Color Lab