Skip to content

#40d492

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

RGB
64, 212, 146
HSL
153°, 63%, 54%
CMYK
70, 0, 31, 17
Luminance
0.5025

Every format

HEX#40d492
RGBrgb(64, 212, 146)
HSLhsl(153, 63%, 54%)
CMYKcmyk(70%, 0%, 31%, 17%)
LABlab(76.2 -53.9 21.7)
LCHlch(76.2 58.1 158.1)
OKLCHoklch(0.776 0.157 159.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40d492 on white: 1.90:1
AA ✗ fail · AA-large · AAA
Aa
#40d492 on black: 11.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green83.1%
Blue57.3%

CMYK percentages

Cyan69.8%
Magenta0.0%
Yellow31.1%
Key (black)16.9%

Color previews

#40d492 text on a black background

contrast 11.05:1

Card sample

#40d492 text on a white background

contrast 1.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40d492

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40d492 in the Color Lab