Skip to content

#3fad1f

a dark, vivid green · cool · closest name: forestgreen

RGB
63, 173, 31
HSL
107°, 70%, 40%
CMYK
64, 0, 82, 32
Luminance
0.3104

Every format

HEX#3fad1f
RGBrgb(63, 173, 31)
HSLhsl(107, 70%, 40%)
CMYKcmyk(64%, 0%, 82%, 32%)
LABlab(62.5 -55.5 57.7)
LCHlch(62.5 80.1 133.9)
OKLCHoklch(0.659 0.199 140.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#3fad1f on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#3fad1f on black: 7.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red24.7%
Green67.8%
Blue12.2%

CMYK percentages

Cyan63.6%
Magenta0.0%
Yellow82.1%
Key (black)32.2%

Color previews

#3fad1f text on a black background

contrast 7.21:1

Card sample

#3fad1f text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(63, 173, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(63, 173, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3fad1f;
background: linear-gradient(135deg, #3fad1f, #1FAD5E);

Monochromatic scale

Palettes built from #3fad1f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3fad1f in the Color Lab