Skip to content

#4afd2d

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

RGB
74, 253, 45
HSL
112°, 98%, 58%
CMYK
71, 0, 82, 1
Luminance
0.7190

Every format

HEX#4afd2d
RGBrgb(74, 253, 45)
HSLhsl(112, 98%, 58%)
CMYKcmyk(71%, 0%, 82%, 1%)
LABlab(87.9 -78.2 77.4)
LCHlch(87.9 110.1 135.3)
OKLCHoklch(0.870 0.273 141.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4afd2d on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#4afd2d on black: 15.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green99.2%
Blue17.6%

CMYK percentages

Cyan70.8%
Magenta0.0%
Yellow82.2%
Key (black)0.8%

Color previews

#4afd2d text on a black background

contrast 15.38:1

Card sample

#4afd2d text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4afd2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4afd2d in the Color Lab