Skip to content

#1fdf49

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

RGB
31, 223, 73
HSL
133°, 76%, 50%
CMYK
86, 0, 67, 13
Luminance
0.5355

Every format

HEX#1fdf49
RGBrgb(31, 223, 73)
HSLhsl(133, 76%, 50%)
CMYKcmyk(86%, 0%, 67%, 13%)
LABlab(78.2 -72.7 58.8)
LCHlch(78.2 93.5 141.1)
OKLCHoklch(0.788 0.238 145.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red12.2%
Green87.5%
Blue28.6%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow67.3%
Key (black)12.5%

Color previews

#1fdf49 text on a black background

contrast 11.71:1

Card sample

#1fdf49 text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fdf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fdf49 in the Color Lab