Skip to content

#4afd80

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

RGB
74, 253, 128
HSL
138°, 98%, 64%
CMYK
71, 0, 49, 1
Luminance
0.7326

Every format

HEX#4afd80
RGBrgb(74, 253, 128)
HSLhsl(138, 98%, 64%)
CMYKcmyk(71%, 0%, 49%, 1%)
LABlab(88.6 -70.4 46.8)
LCHlch(88.6 84.5 146.4)
OKLCHoklch(0.878 0.221 149.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4afd80 on white: 1.34:1
AA ✗ fail · AA-large · AAA
Aa
#4afd80 on black: 15.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green99.2%
Blue50.2%

CMYK percentages

Cyan70.8%
Magenta0.0%
Yellow49.4%
Key (black)0.8%

Color previews

#4afd80 text on a black background

contrast 15.65:1

Card sample

#4afd80 text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4afd80

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4afd80 in the Color Lab