Skip to content

#3df040

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

RGB
61, 240, 64
HSL
121°, 86%, 59%
CMYK
75, 0, 73, 6
Luminance
0.6368

Every format

HEX#3df040
RGBrgb(61, 240, 64)
HSLhsl(121, 86%, 59%)
CMYKcmyk(75%, 0%, 73%, 6%)
LABlab(83.8 -75.2 68.0)
LCHlch(83.8 101.4 137.9)
OKLCHoklch(0.836 0.255 143.0)

Copy-ready code

/* CSS */
color: #3df040;
background-color: #3df040;
/* Tailwind (arbitrary) */
class="text-[#3df040] bg-[#3df040]"
/* SCSS */
$brand: #3df040;
/* SwiftUI */
Color(red: 0.239, green: 0.941, blue: 0.251)
/* Android */
Color.parseColor("#3df040")

Accessibility — WCAG contrast

Aa
#3df040 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#3df040 on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.9%
Green94.1%
Blue25.1%

CMYK percentages

Cyan74.6%
Magenta0.0%
Yellow73.3%
Key (black)5.9%

Color previews

#3df040 text on a black background

contrast 13.74:1

Card sample

#3df040 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3df040;
Background color
Panel with #3df040 background
background-color: #3df040;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3df040;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(61, 240, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(61, 240, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3df040;
background: linear-gradient(135deg, #3df040, #3DF0B7);

Monochromatic scale

Palettes built from #3df040

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3df040 in the Color Lab