Skip to content

#40ef1d

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

RGB
64, 239, 29
HSL
110°, 87%, 53%
CMYK
73, 0, 88, 6
Luminance
0.6291

Every format

HEX#40ef1d
RGBrgb(64, 239, 29)
HSLhsl(110, 87%, 53%)
CMYKcmyk(73%, 0%, 88%, 6%)
LABlab(83.4 -76.3 76.7)
LCHlch(83.4 108.2 134.9)
OKLCHoklch(0.832 0.267 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ef1d on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#40ef1d on black: 13.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green93.7%
Blue11.4%

CMYK percentages

Cyan73.2%
Magenta0.0%
Yellow87.9%
Key (black)6.3%

Color previews

#40ef1d text on a black background

contrast 13.58:1

Card sample

#40ef1d text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ef1d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ef1d in the Color Lab