Skip to content

#40df68

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

RGB
64, 223, 104
HSL
135°, 71%, 56%
CMYK
71, 0, 53, 13
Luminance
0.5486

Every format

HEX#40df68
RGBrgb(64, 223, 104)
HSLhsl(135, 71%, 56%)
CMYKcmyk(71%, 0%, 53%, 13%)
LABlab(79.0 -65.2 46.3)
LCHlch(79.0 79.9 144.6)
OKLCHoklch(0.797 0.208 147.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40df68 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#40df68 on black: 11.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue40.8%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow53.4%
Key (black)12.5%

Color previews

#40df68 text on a black background

contrast 11.97:1

Card sample

#40df68 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40df68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40df68 in the Color Lab