Skip to content

#1fef49

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

RGB
31, 239, 73
HSL
132°, 87%, 53%
CMYK
87, 0, 70, 6
Luminance
0.6251

Every format

HEX#1fef49
RGBrgb(31, 239, 73)
HSLhsl(132, 87%, 53%)
CMYKcmyk(87%, 0%, 70%, 6%)
LABlab(83.2 -77.4 64.1)
LCHlch(83.2 100.5 140.4)
OKLCHoklch(0.830 0.255 144.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red12.2%
Green93.7%
Blue28.6%

CMYK percentages

Cyan87.0%
Magenta0.0%
Yellow69.5%
Key (black)6.3%

Color previews

#1fef49 text on a black background

contrast 13.50:1

Card sample

#1fef49 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1fef49;
Background color
Panel with #1fef49 background
background-color: #1fef49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1fef49;
Text shadow — RGB

Soft neon halo

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

Monochromatic scale

Palettes built from #1fef49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fef49 in the Color Lab