Skip to content

#1fcf2f

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

RGB
31, 207, 47
HSL
126°, 74%, 47%
CMYK
85, 0, 77, 19
Luminance
0.4512

Every format

HEX#1fcf2f
RGBrgb(31, 207, 47)
HSLhsl(126, 74%, 47%)
CMYKcmyk(85%, 0%, 77%, 19%)
LABlab(73.0 -70.2 62.7)
LCHlch(73.0 94.1 138.2)
OKLCHoklch(0.744 0.236 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fcf2f on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#1fcf2f on black: 10.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green81.2%
Blue18.4%

CMYK percentages

Cyan85.0%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#1fcf2f text on a black background

contrast 10.02:1

Card sample

#1fcf2f text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fcf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fcf2f in the Color Lab