Skip to content

#30ff2f

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

RGB
48, 255, 47
HSL
120°, 100%, 59%
CMYK
81, 0, 82, 0
Luminance
0.7235

Every format

HEX#30ff2f
RGBrgb(48, 255, 47)
HSLhsl(120, 100%, 59%)
CMYKcmyk(81%, 0%, 82%, 0%)
LABlab(88.1 -82.2 77.0)
LCHlch(88.1 112.6 136.9)
OKLCHoklch(0.871 0.281 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30ff2f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#30ff2f on black: 15.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green100.0%
Blue18.4%

CMYK percentages

Cyan81.2%
Magenta0.0%
Yellow81.6%
Key (black)0.0%

Color previews

#30ff2f text on a black background

contrast 15.47:1

Card sample

#30ff2f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #30ff2f;
Background color
Panel with #30ff2f background
background-color: #30ff2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #30ff2f;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #30ff2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30ff2f in the Color Lab