Skip to content

#40c554

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

RGB
64, 197, 84
HSL
129°, 53%, 51%
CMYK
68, 0, 57, 23
Luminance
0.4166

Every format

HEX#40c554
RGBrgb(64, 197, 84)
HSLhsl(129, 53%, 51%)
CMYKcmyk(68%, 0%, 57%, 23%)
LABlab(70.6 -58.8 45.7)
LCHlch(70.6 74.5 142.2)
OKLCHoklch(0.727 0.192 145.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c554 on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#40c554 on black: 9.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green77.3%
Blue32.9%

CMYK percentages

Cyan67.5%
Magenta0.0%
Yellow57.4%
Key (black)22.7%

Color previews

#40c554 text on a black background

contrast 9.33:1

Card sample

#40c554 text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c554

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c554 in the Color Lab