Skip to content

#4af049

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

RGB
74, 240, 73
HSL
120°, 85%, 61%
CMYK
69, 0, 70, 6
Luminance
0.6426

Every format

HEX#4af049
RGBrgb(74, 240, 73)
HSLhsl(120, 85%, 61%)
CMYKcmyk(69%, 0%, 70%, 6%)
LABlab(84.1 -72.4 65.2)
LCHlch(84.1 97.5 138.0)
OKLCHoklch(0.839 0.247 142.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4af049 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#4af049 on black: 13.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green94.1%
Blue28.6%

CMYK percentages

Cyan69.2%
Magenta0.0%
Yellow69.6%
Key (black)5.9%

Color previews

#4af049 text on a black background

contrast 13.85:1

Card sample

#4af049 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(74, 240, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(74, 240, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4af049;
background: linear-gradient(135deg, #4af049, #49F0B7);

Monochromatic scale

Palettes built from #4af049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af049 in the Color Lab