Skip to content

#1fcc2f

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

RGB
31, 204, 47
HSL
126°, 74%, 46%
CMYK
85, 0, 77, 20
Luminance
0.4368

Every format

HEX#1fcc2f
RGBrgb(31, 204, 47)
HSLhsl(126, 74%, 46%)
CMYKcmyk(85%, 0%, 77%, 20%)
LABlab(72.0 -69.3 61.7)
LCHlch(72.0 92.8 138.3)
OKLCHoklch(0.736 0.233 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fcc2f on white: 2.16:1
AA ✗ fail · AA-large · AAA
Aa
#1fcc2f on black: 9.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green80.0%
Blue18.4%

CMYK percentages

Cyan84.8%
Magenta0.0%
Yellow77.0%
Key (black)20.0%

Color previews

#1fcc2f text on a black background

contrast 9.74:1

Card sample

#1fcc2f text on a white background

contrast 2.16:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fcc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fcc2f in the Color Lab