Skip to content

#40dfad

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

RGB
64, 223, 173
HSL
161°, 71%, 56%
CMYK
71, 0, 22, 13
Luminance
0.5688

Every format

HEX#40dfad
RGBrgb(64, 223, 173)
HSLhsl(161, 71%, 56%)
CMYKcmyk(71%, 0%, 22%, 13%)
LABlab(80.1 -52.4 12.9)
LCHlch(80.1 53.9 166.2)
OKLCHoklch(0.810 0.149 167.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#40dfad text on a black background

contrast 12.38:1

Card sample

#40dfad text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40dfad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfad in the Color Lab