Skip to content

#40cf75

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

RGB
64, 207, 117
HSL
142°, 60%, 53%
CMYK
69, 0, 44, 19
Luminance
0.4700

Every format

HEX#40cf75
RGBrgb(64, 207, 117)
HSLhsl(142, 60%, 53%)
CMYKcmyk(69%, 0%, 44%, 19%)
LABlab(74.2 -57.5 34.0)
LCHlch(74.2 66.8 149.4)
OKLCHoklch(0.758 0.176 151.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40cf75 on white: 2.02:1
AA ✗ fail · AA-large · AAA
Aa
#40cf75 on black: 10.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green81.2%
Blue45.9%

CMYK percentages

Cyan69.1%
Magenta0.0%
Yellow43.5%
Key (black)18.8%

Color previews

#40cf75 text on a black background

contrast 10.40:1

Card sample

#40cf75 text on a white background

contrast 2.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40cf75

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40cf75 in the Color Lab