Skip to content

#40eb3d

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

RGB
64, 235, 61
HSL
119°, 81%, 58%
CMYK
73, 0, 74, 8
Luminance
0.6084

Every format

HEX#40eb3d
RGBrgb(64, 235, 61)
HSLhsl(119, 81%, 58%)
CMYKcmyk(73%, 0%, 74%, 8%)
LABlab(82.3 -73.5 67.5)
LCHlch(82.3 99.8 137.4)
OKLCHoklch(0.823 0.251 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40eb3d on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#40eb3d on black: 13.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green92.2%
Blue23.9%

CMYK percentages

Cyan72.8%
Magenta0.0%
Yellow74.0%
Key (black)7.8%

Color previews

#40eb3d text on a black background

contrast 13.17:1

Card sample

#40eb3d text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40eb3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40eb3d in the Color Lab