Skip to content

#40ebac

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

RGB
64, 235, 172
HSL
158°, 81%, 59%
CMYK
73, 0, 27, 8
Luminance
0.6349

Every format

HEX#40ebac
RGBrgb(64, 235, 172)
HSLhsl(158, 81%, 59%)
CMYKcmyk(73%, 0%, 27%, 8%)
LABlab(83.7 -57.3 18.4)
LCHlch(83.7 60.2 162.2)
OKLCHoklch(0.839 0.164 163.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40ebac on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#40ebac on black: 13.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green92.2%
Blue67.5%

CMYK percentages

Cyan72.8%
Magenta0.0%
Yellow26.8%
Key (black)7.8%

Color previews

#40ebac text on a black background

contrast 13.70:1

Card sample

#40ebac text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40ebac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40ebac in the Color Lab