Skip to content

#30cc21

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

RGB
48, 204, 33
HSL
115°, 72%, 47%
CMYK
77, 0, 84, 20
Luminance
0.4392

Every format

HEX#30cc21
RGBrgb(48, 204, 33)
HSLhsl(115, 72%, 47%)
CMYKcmyk(77%, 0%, 84%, 20%)
LABlab(72.2 -68.1 65.9)
LCHlch(72.2 94.8 135.9)
OKLCHoklch(0.738 0.235 141.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30cc21 on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#30cc21 on black: 9.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green80.0%
Blue12.9%

CMYK percentages

Cyan76.5%
Magenta0.0%
Yellow83.8%
Key (black)20.0%

Color previews

#30cc21 text on a black background

contrast 9.78:1

Card sample

#30cc21 text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 204, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 204, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #30cc21;
background: linear-gradient(135deg, #30cc21, #21CC84);

Monochromatic scale

Palettes built from #30cc21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30cc21 in the Color Lab