Skip to content

#4fff2f

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

RGB
79, 255, 47
HSL
111°, 100%, 59%
CMYK
69, 0, 82, 0
Luminance
0.7339

Every format

HEX#4fff2f
RGBrgb(79, 255, 47)
HSLhsl(111, 100%, 59%)
CMYKcmyk(69%, 0%, 82%, 0%)
LABlab(88.6 -77.9 77.6)
LCHlch(88.6 110.0 135.1)
OKLCHoklch(0.876 0.273 141.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red31.0%
Green100.0%
Blue18.4%

CMYK percentages

Cyan69.0%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#4fff2f text on a black background

contrast 15.68:1

Card sample

#4fff2f text on a white background

contrast 1.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(79, 255, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(79, 255, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4fff2f;
background: linear-gradient(135deg, #4fff2f, #2FFF9A);

Monochromatic scale

Palettes built from #4fff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4fff2f in the Color Lab