Skip to content

#40fcaf

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

RGB
64, 252, 175
HSL
155°, 97%, 62%
CMYK
75, 0, 31, 1
Luminance
0.7381

Every format

HEX#40fcaf
RGBrgb(64, 252, 175)
HSLhsl(155, 97%, 62%)
CMYKcmyk(75%, 0%, 31%, 1%)
LABlab(88.8 -63.1 24.0)
LCHlch(88.8 67.5 159.2)
OKLCHoklch(0.882 0.182 160.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40fcaf on white: 1.33:1
AA ✗ fail · AA-large · AAA
Aa
#40fcaf on black: 15.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green98.8%
Blue68.6%

CMYK percentages

Cyan74.6%
Magenta0.0%
Yellow30.6%
Key (black)1.2%

Color previews

#40fcaf text on a black background

contrast 15.76:1

Card sample

#40fcaf text on a white background

contrast 1.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40fcaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40fcaf in the Color Lab