Skip to content

#40ef1c

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

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

Every format

HEX#40ef1c
RGBrgb(64, 239, 28)
HSLhsl(110, 87%, 52%)
CMYKcmyk(73%, 0%, 88%, 6%)
LABlab(83.4 -76.3 76.8)
LCHlch(83.4 108.3 134.8)
OKLCHoklch(0.832 0.268 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green93.7%
Blue11.0%

CMYK percentages

Cyan73.2%
Magenta0.0%
Yellow88.3%
Key (black)6.3%

Color previews

#40ef1c text on a black background

contrast 13.58:1

Card sample

#40ef1c text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ef1c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ef1c in the Color Lab