Skip to content

#4df780

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

RGB
77, 247, 128
HSL
138°, 91%, 64%
CMYK
69, 0, 48, 3
Luminance
0.6966

Every format

HEX#4df780
RGBrgb(77, 247, 128)
HSLhsl(138, 91%, 64%)
CMYKcmyk(69%, 0%, 48%, 3%)
LABlab(86.8 -67.9 44.7)
LCHlch(86.8 81.2 146.6)
OKLCHoklch(0.864 0.213 149.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4df780 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#4df780 on black: 14.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green96.9%
Blue50.2%

CMYK percentages

Cyan68.8%
Magenta0.0%
Yellow48.2%
Key (black)3.1%

Color previews

#4df780 text on a black background

contrast 14.93:1

Card sample

#4df780 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #4df780;
Background color
Panel with #4df780 background
background-color: #4df780;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #4df780;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(77, 247, 128, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(77, 247, 128, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4df780;
background: linear-gradient(135deg, #4df780, #4DF7F1);

Monochromatic scale

Palettes built from #4df780

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4df780 in the Color Lab