Skip to content

#4af02c

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

RGB
74, 240, 44
HSL
111°, 87%, 56%
CMYK
69, 0, 82, 6
Luminance
0.6396

Every format

HEX#4af02c
RGBrgb(74, 240, 44)
HSLhsl(111, 87%, 56%)
CMYKcmyk(69%, 0%, 82%, 6%)
LABlab(83.9 -74.3 74.0)
LCHlch(83.9 104.9 135.1)
OKLCHoklch(0.837 0.261 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red29.0%
Green94.1%
Blue17.3%

CMYK percentages

Cyan69.2%
Magenta0.0%
Yellow81.7%
Key (black)5.9%

Color previews

#4af02c text on a black background

contrast 13.79:1

Card sample

#4af02c text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4af02c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4af02c in the Color Lab