Skip to content

#40ff77

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

RGB
64, 255, 119
HSL
137°, 100%, 63%
CMYK
75, 0, 53, 0
Luminance
0.7394

Every format

HEX#40ff77
RGBrgb(64, 255, 119)
HSLhsl(137, 100%, 63%)
CMYKcmyk(75%, 0%, 53%, 0%)
LABlab(88.9 -73.7 51.4)
LCHlch(88.9 89.8 145.1)
OKLCHoklch(0.880 0.233 148.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ff77 on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#40ff77 on black: 15.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green100.0%
Blue46.7%

CMYK percentages

Cyan74.9%
Magenta0.0%
Yellow53.3%
Key (black)0.0%

Color previews

#40ff77 text on a black background

contrast 15.79:1

Card sample

#40ff77 text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ff77

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ff77 in the Color Lab