Skip to content

#40cab3

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

RGB
64, 202, 179
HSL
170°, 57%, 52%
CMYK
68, 0, 11, 21
Luminance
0.4659

Every format

HEX#40cab3
RGBrgb(64, 202, 179)
HSLhsl(170, 57%, 52%)
CMYKcmyk(68%, 0%, 11%, 21%)
LABlab(73.9 -42.1 0.8)
LCHlch(73.9 42.1 179.0)
OKLCHoklch(0.760 0.121 179.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cab3 on white: 2.04:1
AA ✗ fail · AA-large · AAA
Aa
#40cab3 on black: 10.32:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green79.2%
Blue70.2%

CMYK percentages

Cyan68.3%
Magenta0.0%
Yellow11.4%
Key (black)20.8%

Color previews

#40cab3 text on a black background

contrast 10.32:1

Card sample

#40cab3 text on a white background

contrast 2.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 202, 179, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 202, 179, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40cab3;
background: linear-gradient(135deg, #40cab3, #4085CA);

Monochromatic scale

Palettes built from #40cab3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cab3 in the Color Lab