Skip to content

#40df29

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

RGB
64, 223, 41
HSL
112°, 74%, 52%
CMYK
71, 0, 82, 13
Luminance
0.5403

Every format

HEX#40df29
RGBrgb(64, 223, 41)
HSLhsl(112, 74%, 52%)
CMYKcmyk(71%, 0%, 82%, 13%)
LABlab(78.5 -71.0 69.7)
LCHlch(78.5 99.5 135.5)
OKLCHoklch(0.791 0.248 141.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40df29 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#40df29 on black: 11.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue16.1%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow81.6%
Key (black)12.5%

Color previews

#40df29 text on a black background

contrast 11.81:1

Card sample

#40df29 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40df29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40df29 in the Color Lab