Skip to content

#40c2c5

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

RGB
64, 194, 197
HSL
181°, 53%, 51%
CMYK
68, 2, 0, 23
Luminance
0.4370

Every format

HEX#40c2c5
RGBrgb(64, 194, 197)
HSLhsl(181, 53%, 51%)
CMYKcmyk(68%, 2%, 0%, 23%)
LABlab(72.0 -33.5 -11.8)
LCHlch(72.0 35.5 199.4)
OKLCHoklch(0.746 0.110 197.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c2c5 on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#40c2c5 on black: 9.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green76.1%
Blue77.3%

CMYK percentages

Cyan67.5%
Magenta1.5%
Yellow0.0%
Key (black)22.7%

Color previews

#40c2c5 text on a black background

contrast 9.74:1

Card sample

#40c2c5 text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(64, 194, 197, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(64, 194, 197, 0.45);
Border & gradient
Gradient panel
border: 3px solid #40c2c5;
background: linear-gradient(135deg, #40c2c5, #4069C5);

Monochromatic scale

Palettes built from #40c2c5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c2c5 in the Color Lab