Skip to content

#1df402

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

RGB
29, 244, 2
HSL
113°, 98%, 48%
CMYK
88, 0, 99, 4
Luminance
0.6497

Every format

HEX#1df402
RGBrgb(29, 244, 2)
HSLhsl(113, 98%, 48%)
CMYKcmyk(88%, 0%, 99%, 4%)
LABlab(84.5 -82.1 80.5)
LCHlch(84.5 114.9 135.6)
OKLCHoklch(0.840 0.283 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1df402 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#1df402 on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red11.4%
Green95.7%
Blue0.8%

CMYK percentages

Cyan88.1%
Magenta0.0%
Yellow99.2%
Key (black)4.3%

Color previews

#1df402 text on a black background

contrast 13.99:1

Card sample

#1df402 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(29, 244, 2, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(29, 244, 2, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1df402;
background: linear-gradient(135deg, #1df402, #02F488);

Monochromatic scale

Palettes built from #1df402

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1df402 in the Color Lab