Skip to content

#3af40f

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

RGB
58, 244, 15
HSL
109°, 91%, 51%
CMYK
76, 0, 94, 4
Luminance
0.6564

Every format

HEX#3af40f
RGBrgb(58, 244, 15)
HSLhsl(109, 91%, 51%)
CMYKcmyk(76%, 0%, 94%, 4%)
LABlab(84.8 -79.0 79.8)
LCHlch(84.8 112.2 134.7)
OKLCHoklch(0.843 0.276 141.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3af40f on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#3af40f on black: 14.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.7%
Green95.7%
Blue5.9%

CMYK percentages

Cyan76.2%
Magenta0.0%
Yellow93.9%
Key (black)4.3%

Color previews

#3af40f text on a black background

contrast 14.13:1

Card sample

#3af40f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 244, 15, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 244, 15, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3af40f;
background: linear-gradient(135deg, #3af40f, #0FF47D);

Monochromatic scale

Palettes built from #3af40f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3af40f in the Color Lab