Skip to content

#40df64

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

RGB
64, 223, 100
HSL
134°, 71%, 56%
CMYK
71, 0, 55, 13
Luminance
0.5479

Every format

HEX#40df64
RGBrgb(64, 223, 100)
HSLhsl(134, 71%, 56%)
CMYKcmyk(71%, 0%, 55%, 13%)
LABlab(78.9 -65.7 48.1)
LCHlch(78.9 81.4 143.8)
OKLCHoklch(0.796 0.211 147.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40df64 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#40df64 on black: 11.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue39.2%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow55.2%
Key (black)12.5%

Color previews

#40df64 text on a black background

contrast 11.96:1

Card sample

#40df64 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40df64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40df64 in the Color Lab