Skip to content

#40cf44

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

RGB
64, 207, 68
HSL
122°, 60%, 53%
CMYK
69, 0, 67, 19
Luminance
0.4613

Every format

HEX#40cf44
RGBrgb(64, 207, 68)
HSLhsl(122, 60%, 53%)
CMYKcmyk(69%, 0%, 67%, 19%)
LABlab(73.6 -64.0 56.0)
LCHlch(73.6 85.0 138.8)
OKLCHoklch(0.751 0.216 143.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red25.1%
Green81.2%
Blue26.7%

CMYK percentages

Cyan69.1%
Magenta0.0%
Yellow67.1%
Key (black)18.8%

Color previews

#40cf44 text on a black background

contrast 10.23:1

Card sample

#40cf44 text on a white background

contrast 2.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40cf44

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cf44 in the Color Lab