Skip to content

#40df49

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

RGB
64, 223, 73
HSL
123°, 71%, 56%
CMYK
71, 0, 67, 13
Luminance
0.5435

Every format

HEX#40df49
RGBrgb(64, 223, 73)
HSLhsl(123, 71%, 56%)
CMYKcmyk(71%, 0%, 67%, 13%)
LABlab(78.7 -68.7 59.4)
LCHlch(78.7 90.8 139.2)
OKLCHoklch(0.793 0.231 143.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40df49 on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#40df49 on black: 11.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue28.6%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow67.3%
Key (black)12.5%

Color previews

#40df49 text on a black background

contrast 11.87:1

Card sample

#40df49 text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #40df49;
Background color
Panel with #40df49 background
background-color: #40df49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #40df49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(64, 223, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 223, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40df49;
background: linear-gradient(135deg, #40df49, #40DFB3);

Monochromatic scale

Palettes built from #40df49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40df49 in the Color Lab