Skip to content

#4af151

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

RGB
74, 241, 81
HSL
123°, 86%, 62%
CMYK
69, 0, 66, 6
Luminance
0.6496

Every format

HEX#4af151
RGBrgb(74, 241, 81)
HSLhsl(123, 86%, 62%)
CMYKcmyk(69%, 0%, 66%, 6%)
LABlab(84.5 -72.1 62.6)
LCHlch(84.5 95.4 139.0)
OKLCHoklch(0.842 0.243 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4af151 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#4af151 on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green94.5%
Blue31.8%

CMYK percentages

Cyan69.3%
Magenta0.0%
Yellow66.4%
Key (black)5.5%

Color previews

#4af151 text on a black background

contrast 13.99:1

Card sample

#4af151 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4af151

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af151 in the Color Lab