Skip to content

#40fec4

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

RGB
64, 254, 196
HSL
162°, 99%, 62%
CMYK
75, 0, 23, 0
Luminance
0.7596

Every format

HEX#40fec4
RGBrgb(64, 254, 196)
HSLhsl(162, 99%, 62%)
CMYKcmyk(75%, 0%, 23%, 0%)
LABlab(89.8 -59.4 14.6)
LCHlch(89.8 61.1 166.2)
OKLCHoklch(0.891 0.168 167.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40fec4 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#40fec4 on black: 16.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green99.6%
Blue76.9%

CMYK percentages

Cyan74.8%
Magenta0.0%
Yellow22.8%
Key (black)0.4%

Color previews

#40fec4 text on a black background

contrast 16.19:1

Card sample

#40fec4 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40fec4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40fec4 in the Color Lab