Skip to content

#40cf49

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

RGB
64, 207, 73
HSL
124°, 60%, 53%
CMYK
69, 0, 65, 19
Luminance
0.4620

Every format

HEX#40cf49
RGBrgb(64, 207, 73)
HSLhsl(124, 60%, 53%)
CMYKcmyk(69%, 0%, 65%, 19%)
LABlab(73.7 -63.5 54.0)
LCHlch(73.7 83.3 139.6)
OKLCHoklch(0.752 0.213 144.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cf49 on white: 2.05:1
AA ✗ fail · AA-large · AAA
Aa
#40cf49 on black: 10.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green81.2%
Blue28.6%

CMYK percentages

Cyan69.1%
Magenta0.0%
Yellow64.7%
Key (black)18.8%

Color previews

#40cf49 text on a black background

contrast 10.24:1

Card sample

#40cf49 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40cf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cf49 in the Color Lab