Skip to content

#31df2d

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

RGB
49, 223, 45
HSL
119°, 74%, 53%
CMYK
78, 0, 80, 13
Luminance
0.5362

Every format

HEX#31df2d
RGBrgb(49, 223, 45)
HSLhsl(119, 74%, 53%)
CMYKcmyk(78%, 0%, 80%, 13%)
LABlab(78.2 -73.0 68.4)
LCHlch(78.2 100.0 136.9)
OKLCHoklch(0.789 0.250 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#31df2d on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#31df2d on black: 11.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red19.2%
Green87.5%
Blue17.6%

CMYK percentages

Cyan78.0%
Magenta0.0%
Yellow79.8%
Key (black)12.5%

Color previews

#31df2d text on a black background

contrast 11.72:1

Card sample

#31df2d text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(49, 223, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(49, 223, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #31df2d;
background: linear-gradient(135deg, #31df2d, #2DDFA0);

Monochromatic scale

Palettes built from #31df2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #31df2d in the Color Lab