Skip to content

#40ff97

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

RGB
64, 255, 151
HSL
147°, 100%, 63%
CMYK
75, 0, 41, 0
Luminance
0.7484

Every format

HEX#40ff97
RGBrgb(64, 255, 151)
HSLhsl(147, 100%, 63%)
CMYKcmyk(75%, 0%, 41%, 0%)
LABlab(89.3 -68.8 36.7)
LCHlch(89.3 77.9 151.9)
OKLCHoklch(0.884 0.206 153.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ff97 on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#40ff97 on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green100.0%
Blue59.2%

CMYK percentages

Cyan74.9%
Magenta0.0%
Yellow40.8%
Key (black)0.0%

Color previews

#40ff97 text on a black background

contrast 15.97:1

Card sample

#40ff97 text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ff97

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ff97 in the Color Lab