Skip to content

#40cfab

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

RGB
64, 207, 171
HSL
165°, 60%, 53%
CMYK
69, 0, 17, 19
Luminance
0.4866

Every format

HEX#40cfab
RGBrgb(64, 207, 171)
HSLhsl(165, 60%, 53%)
CMYKcmyk(69%, 0%, 17%, 19%)
LABlab(75.2 -46.2 7.0)
LCHlch(75.2 46.8 171.4)
OKLCHoklch(0.770 0.131 172.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cfab on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#40cfab on black: 10.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green81.2%
Blue67.1%

CMYK percentages

Cyan69.1%
Magenta0.0%
Yellow17.4%
Key (black)18.8%

Color previews

#40cfab text on a black background

contrast 10.73:1

Card sample

#40cfab text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40cfab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cfab in the Color Lab