Skip to content

#3afb2c

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

RGB
58, 251, 44
HSL
116°, 96%, 58%
CMYK
77, 0, 83, 2
Luminance
0.7008

Every format

HEX#3afb2c
RGBrgb(58, 251, 44)
HSLhsl(116, 96%, 58%)
CMYKcmyk(77%, 0%, 83%, 2%)
LABlab(87.0 -80.0 76.8)
LCHlch(87.0 110.9 136.2)
OKLCHoklch(0.862 0.276 142.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3afb2c on white: 1.40:1
AA ✗ fail · AA-large · AAA
Aa
#3afb2c on black: 15.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.7%
Green98.4%
Blue17.3%

CMYK percentages

Cyan76.9%
Magenta0.0%
Yellow82.5%
Key (black)1.6%

Color previews

#3afb2c text on a black background

contrast 15.02:1

Card sample

#3afb2c text on a white background

contrast 1.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(58, 251, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 251, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3afb2c;
background: linear-gradient(135deg, #3afb2c, #2CFBA8);

Monochromatic scale

Palettes built from #3afb2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3afb2c in the Color Lab