Skip to content

#1fef39

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

RGB
31, 239, 57
HSL
128°, 87%, 53%
CMYK
87, 0, 76, 6
Luminance
0.6232

Every format

HEX#1fef39
RGBrgb(31, 239, 57)
HSLhsl(128, 87%, 53%)
CMYKcmyk(87%, 0%, 76%, 6%)
LABlab(83.1 -78.6 69.4)
LCHlch(83.1 104.9 138.6)
OKLCHoklch(0.829 0.264 143.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1fef39 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#1fef39 on black: 13.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.2%
Green93.7%
Blue22.4%

CMYK percentages

Cyan87.0%
Magenta0.0%
Yellow76.2%
Key (black)6.3%

Color previews

#1fef39 text on a black background

contrast 13.46:1

Card sample

#1fef39 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fef39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fef39 in the Color Lab