Skip to content

#40f968

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

RGB
64, 249, 104
HSL
133°, 94%, 61%
CMYK
74, 0, 58, 2
Luminance
0.6984

Every format

HEX#40f968
RGBrgb(64, 249, 104)
HSLhsl(133, 94%, 61%)
CMYKcmyk(74%, 0%, 58%, 2%)
LABlab(86.9 -73.7 55.7)
LCHlch(86.9 92.4 142.9)
OKLCHoklch(0.863 0.238 146.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40f968 on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#40f968 on black: 14.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green97.6%
Blue40.8%

CMYK percentages

Cyan74.3%
Magenta0.0%
Yellow58.2%
Key (black)2.4%

Color previews

#40f968 text on a black background

contrast 14.97:1

Card sample

#40f968 text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40f968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40f968 in the Color Lab