Skip to content

#40df3f

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

RGB
64, 223, 63
HSL
120°, 71%, 56%
CMYK
71, 0, 72, 13
Luminance
0.5422

Every format

HEX#40df3f
RGBrgb(64, 223, 63)
HSLhsl(120, 71%, 56%)
CMYKcmyk(71%, 0%, 72%, 13%)
LABlab(78.6 -69.6 63.1)
LCHlch(78.6 93.9 137.8)
OKLCHoklch(0.793 0.237 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40df3f on white: 1.77:1
AA ✗ fail · AA-large · AAA
Aa
#40df3f on black: 11.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue24.7%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow71.7%
Key (black)12.5%

Color previews

#40df3f text on a black background

contrast 11.84:1

Card sample

#40df3f text on a white background

contrast 1.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40df3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40df3f in the Color Lab