Skip to content

#4df261

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

RGB
77, 242, 97
HSL
127°, 86%, 63%
CMYK
68, 0, 60, 5
Luminance
0.6595

Every format

HEX#4df261
RGBrgb(77, 242, 97)
HSLhsl(127, 86%, 63%)
CMYKcmyk(68%, 0%, 60%, 5%)
LABlab(85.0 -70.2 56.6)
LCHlch(85.0 90.2 141.1)
OKLCHoklch(0.847 0.232 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4df261 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#4df261 on black: 14.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red30.2%
Green94.9%
Blue38.0%

CMYK percentages

Cyan68.2%
Magenta0.0%
Yellow59.9%
Key (black)5.1%

Color previews

#4df261 text on a black background

contrast 14.19:1

Card sample

#4df261 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4df261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4df261 in the Color Lab