Skip to content

#3ba40f

a dark, electric green · cool · closest name: green

RGB
59, 164, 15
HSL
102°, 83%, 35%
CMYK
64, 0, 91, 36
Luminance
0.2752

Every format

HEX#3ba40f
RGBrgb(59, 164, 15)
HSLhsl(102, 83%, 35%)
CMYKcmyk(64%, 0%, 91%, 36%)
LABlab(59.5 -54.0 58.6)
LCHlch(59.5 79.7 132.7)
OKLCHoklch(0.633 0.196 139.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3ba40f on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#3ba40f on black: 6.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red23.1%
Green64.3%
Blue5.9%

CMYK percentages

Cyan64.0%
Magenta0.0%
Yellow90.9%
Key (black)35.7%

Color previews

#3ba40f text on a black background

contrast 6.50:1

Card sample

#3ba40f text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #3ba40f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3ba40f in the Color Lab