Skip to content

#1ffc2f

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

RGB
31, 252, 47
HSL
124°, 97%, 56%
CMYK
88, 0, 81, 1
Luminance
0.7012

Every format

HEX#1ffc2f
RGBrgb(31, 252, 47)
HSLhsl(124, 97%, 56%)
CMYKcmyk(88%, 0%, 81%, 1%)
LABlab(87.0 -82.8 75.9)
LCHlch(87.0 112.4 137.5)
OKLCHoklch(0.862 0.280 143.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1ffc2f on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#1ffc2f on black: 15.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green98.8%
Blue18.4%

CMYK percentages

Cyan87.7%
Magenta0.0%
Yellow81.3%
Key (black)1.2%

Color previews

#1ffc2f text on a black background

contrast 15.02:1

Card sample

#1ffc2f text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1ffc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1ffc2f in the Color Lab