Skip to content

#40cd65

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

RGB
64, 205, 101
HSL
136°, 59%, 53%
CMYK
69, 0, 51, 20
Luminance
0.4569

Every format

HEX#40cd65
RGBrgb(64, 205, 101)
HSLhsl(136, 59%, 53%)
CMYKcmyk(69%, 0%, 51%, 20%)
LABlab(73.3 -59.3 40.8)
LCHlch(73.3 72.0 145.4)
OKLCHoklch(0.750 0.188 148.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cd65 on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#40cd65 on black: 10.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green80.4%
Blue39.6%

CMYK percentages

Cyan68.8%
Magenta0.0%
Yellow50.7%
Key (black)19.6%

Color previews

#40cd65 text on a black background

contrast 10.14:1

Card sample

#40cd65 text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40cd65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cd65 in the Color Lab