Skip to content

#1fdf32

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

RGB
31, 223, 50
HSL
126°, 76%, 50%
CMYK
86, 0, 78, 13
Luminance
0.5330

Every format

HEX#1fdf32
RGBrgb(31, 223, 50)
HSLhsl(126, 76%, 50%)
CMYKcmyk(86%, 0%, 78%, 13%)
LABlab(78.0 -74.6 66.7)
LCHlch(78.0 100.0 138.2)
OKLCHoklch(0.786 0.251 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red12.2%
Green87.5%
Blue19.6%

CMYK percentages

Cyan86.1%
Magenta0.0%
Yellow77.6%
Key (black)12.5%

Color previews

#1fdf32 text on a black background

contrast 11.66:1

Card sample

#1fdf32 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1fdf32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1fdf32 in the Color Lab