Skip to content

#40f293

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

RGB
64, 242, 147
HSL
148°, 87%, 60%
CMYK
74, 0, 39, 5
Luminance
0.6670

Every format

HEX#40f293
RGBrgb(64, 242, 147)
HSLhsl(148, 87%, 60%)
CMYKcmyk(74%, 0%, 39%, 5%)
LABlab(85.3 -64.9 33.4)
LCHlch(85.3 73.0 152.7)
OKLCHoklch(0.852 0.194 154.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40f293 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#40f293 on black: 14.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green94.9%
Blue57.6%

CMYK percentages

Cyan73.6%
Magenta0.0%
Yellow39.3%
Key (black)5.1%

Color previews

#40f293 text on a black background

contrast 14.34:1

Card sample

#40f293 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40f293

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40f293 in the Color Lab