Skip to content

#40fac2

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

RGB
64, 250, 194
HSL
162°, 95%, 62%
CMYK
74, 0, 22, 2
Luminance
0.7336

Every format

HEX#40fac2
RGBrgb(64, 250, 194)
HSLhsl(162, 95%, 62%)
CMYKcmyk(74%, 0%, 22%, 2%)
LABlab(88.6 -58.3 13.9)
LCHlch(88.6 59.9 166.6)
OKLCHoklch(0.881 0.165 167.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40fac2 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#40fac2 on black: 15.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green98.0%
Blue76.1%

CMYK percentages

Cyan74.4%
Magenta0.0%
Yellow22.4%
Key (black)2.0%

Color previews

#40fac2 text on a black background

contrast 15.67:1

Card sample

#40fac2 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40fac2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40fac2 in the Color Lab