Skip to content

#40f0cf

a balanced, electric cyan · cool · closest name: aquamarine

RGB
64, 240, 207
HSL
169°, 85%, 60%
CMYK
73, 0, 14, 6
Luminance
0.6792

Every format

HEX#40f0cf
RGBrgb(64, 240, 207)
HSLhsl(169, 85%, 60%)
CMYKcmyk(73%, 0%, 14%, 6%)
LABlab(86.0 -51.1 3.4)
LCHlch(86.0 51.3 176.2)
OKLCHoklch(0.861 0.146 176.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40f0cf on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#40f0cf on black: 14.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green94.1%
Blue81.2%

CMYK percentages

Cyan73.3%
Magenta0.0%
Yellow13.7%
Key (black)5.9%

Color previews

#40f0cf text on a black background

contrast 14.58:1

Card sample

#40f0cf text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40f0cf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40f0cf in the Color Lab