Skip to content

#40c577

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

RGB
64, 197, 119
HSL
145°, 53%, 51%
CMYK
68, 0, 40, 23
Luminance
0.4235

Every format

HEX#40c577
RGBrgb(64, 197, 119)
HSLhsl(145, 53%, 51%)
CMYKcmyk(68%, 0%, 40%, 23%)
LABlab(71.1 -53.4 28.9)
LCHlch(71.1 60.7 151.6)
OKLCHoklch(0.733 0.161 153.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c577 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#40c577 on black: 9.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green77.3%
Blue46.7%

CMYK percentages

Cyan67.5%
Magenta0.0%
Yellow39.6%
Key (black)22.7%

Color previews

#40c577 text on a black background

contrast 9.47:1

Card sample

#40c577 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c577

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c577 in the Color Lab