Skip to content

#3af049

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

RGB
58, 240, 73
HSL
125°, 86%, 58%
CMYK
76, 0, 70, 6
Luminance
0.6370

Every format

HEX#3af049
RGBrgb(58, 240, 73)
HSLhsl(125, 86%, 58%)
CMYKcmyk(76%, 0%, 70%, 6%)
LABlab(83.8 -74.9 64.8)
LCHlch(83.8 99.0 139.1)
OKLCHoklch(0.836 0.251 143.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red22.7%
Green94.1%
Blue28.6%

CMYK percentages

Cyan75.8%
Magenta0.0%
Yellow69.6%
Key (black)5.9%

Color previews

#3af049 text on a black background

contrast 13.74:1

Card sample

#3af049 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3af049

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3af049 in the Color Lab