Skip to content

#40dfab

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

RGB
64, 223, 171
HSL
160°, 71%, 56%
CMYK
71, 0, 23, 13
Luminance
0.5681

Every format

HEX#40dfab
RGBrgb(64, 223, 171)
HSLhsl(160, 71%, 56%)
CMYKcmyk(71%, 0%, 23%, 13%)
LABlab(80.1 -52.8 13.8)
LCHlch(80.1 54.6 165.3)
OKLCHoklch(0.810 0.150 166.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40dfab on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#40dfab on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue67.1%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow23.3%
Key (black)12.5%

Color previews

#40dfab text on a black background

contrast 12.36:1

Card sample

#40dfab text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40dfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfab in the Color Lab