Skip to content

#40d2cf

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

RGB
64, 210, 207
HSL
179°, 62%, 54%
CMYK
70, 0, 1, 18
Luminance
0.5169

Every format

HEX#40d2cf
RGBrgb(64, 210, 207)
HSLhsl(179, 62%, 54%)
CMYKcmyk(70%, 0%, 1%, 18%)
LABlab(77.1 -38.1 -9.7)
LCHlch(77.1 39.3 194.2)
OKLCHoklch(0.788 0.120 193.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40d2cf on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#40d2cf on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green82.4%
Blue81.2%

CMYK percentages

Cyan69.5%
Magenta0.0%
Yellow1.4%
Key (black)17.6%

Color previews

#40d2cf text on a black background

contrast 11.34:1

Card sample

#40d2cf text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 210, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 210, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40d2cf;
background: linear-gradient(135deg, #40d2cf, #4073D2);

Monochromatic scale

Palettes built from #40d2cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40d2cf in the Color Lab