Skip to content

#30ef1f

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

RGB
48, 239, 31
HSL
115°, 87%, 53%
CMYK
80, 0, 87, 6
Luminance
0.6246

Every format

HEX#30ef1f
RGBrgb(48, 239, 31)
HSLhsl(115, 87%, 53%)
CMYKcmyk(80%, 0%, 87%, 6%)
LABlab(83.2 -78.4 76.0)
LCHlch(83.2 109.2 135.9)
OKLCHoklch(0.829 0.270 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30ef1f on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#30ef1f on black: 13.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green93.7%
Blue12.2%

CMYK percentages

Cyan79.9%
Magenta0.0%
Yellow87.0%
Key (black)6.3%

Color previews

#30ef1f text on a black background

contrast 13.49:1

Card sample

#30ef1f text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(48, 239, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 239, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #30ef1f;
background: linear-gradient(135deg, #30ef1f, #1FEF99);

Monochromatic scale

Palettes built from #30ef1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30ef1f in the Color Lab