Skip to content

#40dfba

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

RGB
64, 223, 186
HSL
166°, 71%, 56%
CMYK
71, 0, 17, 13
Luminance
0.5741

Every format

HEX#40dfba
RGBrgb(64, 223, 186)
HSLhsl(166, 71%, 56%)
CMYKcmyk(71%, 0%, 17%, 13%)
LABlab(80.4 -49.3 6.4)
LCHlch(80.4 49.7 172.6)
OKLCHoklch(0.814 0.140 173.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40dfba on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#40dfba on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green87.5%
Blue72.9%

CMYK percentages

Cyan71.3%
Magenta0.0%
Yellow16.6%
Key (black)12.5%

Color previews

#40dfba text on a black background

contrast 12.48:1

Card sample

#40dfba text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40dfba

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40dfba in the Color Lab