Skip to content

#40fbaf

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

RGB
64, 251, 175
HSL
156°, 96%, 62%
CMYK
75, 0, 30, 2
Luminance
0.7318

Every format

HEX#40fbaf
RGBrgb(64, 251, 175)
HSLhsl(156, 96%, 62%)
CMYKcmyk(75%, 0%, 30%, 2%)
LABlab(88.5 -62.8 23.6)
LCHlch(88.5 67.0 159.4)
OKLCHoklch(0.879 0.181 160.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green98.4%
Blue68.6%

CMYK percentages

Cyan74.5%
Magenta0.0%
Yellow30.3%
Key (black)1.6%

Color previews

#40fbaf text on a black background

contrast 15.64:1

Card sample

#40fbaf text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40fbaf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40fbaf in the Color Lab