Skip to content

#1fdf2f

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

RGB
31, 223, 47
HSL
125°, 76%, 50%
CMYK
86, 0, 79, 13
Luminance
0.5327

Every format

HEX#1fdf2f
RGBrgb(31, 223, 47)
HSLhsl(125, 76%, 50%)
CMYKcmyk(86%, 0%, 79%, 13%)
LABlab(78.0 -74.8 67.5)
LCHlch(78.0 100.7 137.9)
OKLCHoklch(0.786 0.252 143.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fdf2f on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#1fdf2f on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green87.5%
Blue18.4%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow78.9%
Key (black)12.5%

Color previews

#1fdf2f text on a black background

contrast 11.65:1

Card sample

#1fdf2f text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fdf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fdf2f in the Color Lab