Skip to content

#30df40

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

RGB
48, 223, 64
HSL
126°, 73%, 53%
CMYK
79, 0, 71, 13
Luminance
0.5377

Every format

HEX#30df40
RGBrgb(48, 223, 64)
HSLhsl(126, 73%, 53%)
CMYKcmyk(79%, 0%, 71%, 13%)
LABlab(78.3 -71.8 62.4)
LCHlch(78.3 95.1 139.0)
OKLCHoklch(0.790 0.240 143.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30df40 on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#30df40 on black: 11.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green87.5%
Blue25.1%

CMYK percentages

Cyan78.5%
Magenta0.0%
Yellow71.3%
Key (black)12.5%

Color previews

#30df40 text on a black background

contrast 11.75:1

Card sample

#30df40 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 223, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 223, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #30df40;
background: linear-gradient(135deg, #30df40, #30DFB5);

Monochromatic scale

Palettes built from #30df40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30df40 in the Color Lab