Skip to content

#40c080

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

RGB
64, 192, 128
HSL
150°, 50%, 50%
CMYK
67, 0, 33, 25
Luminance
0.4035

Every format

HEX#40c080
RGBrgb(64, 192, 128)
HSLhsl(150, 50%, 50%)
CMYKcmyk(67%, 0%, 33%, 25%)
LABlab(69.7 -49.7 22.3)
LCHlch(69.7 54.5 155.8)
OKLCHoklch(0.722 0.146 157.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#40c080 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#40c080 on black: 9.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red25.1%
Green75.3%
Blue50.2%

CMYK percentages

Cyan66.7%
Magenta0.0%
Yellow33.3%
Key (black)24.7%

Color previews

#40c080 text on a black background

contrast 9.07:1

Card sample

#40c080 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #40c080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #40c080 in the Color Lab