Skip to content

#64ab2f

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

RGB
100, 171, 47
HSL
94°, 57%, 43%
CMYK
42, 0, 73, 33
Luminance
0.3204

Every format

HEX#64ab2f
RGBrgb(100, 171, 47)
HSLhsl(94, 57%, 43%)
CMYKcmyk(42%, 0%, 73%, 33%)
LABlab(63.4 -43.1 53.8)
LCHlch(63.4 68.9 128.7)
OKLCHoklch(0.670 0.171 134.8)

Copy-ready code

/* CSS */
color: #64ab2f;
background-color: #64ab2f;
/* Tailwind (arbitrary) */
class="text-[#64ab2f] bg-[#64ab2f]"
/* SCSS */
$brand: #64ab2f;
/* SwiftUI */
Color(red: 0.392, green: 0.671, blue: 0.184)
/* Android */
Color.parseColor("#64ab2f")

Accessibility — WCAG contrast

Aa
#64ab2f on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#64ab2f on black: 7.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red39.2%
Green67.1%
Blue18.4%

CMYK percentages

Cyan41.5%
Magenta0.0%
Yellow72.5%
Key (black)32.9%

Color previews

#64ab2f text on a black background

contrast 7.41:1

Card sample

#64ab2f text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #64ab2f;
Background color
Panel with #64ab2f background
background-color: #64ab2f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #64ab2f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(100, 171, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(100, 171, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #64ab2f;
background: linear-gradient(135deg, #64ab2f, #2FAB4D);

Monochromatic scale

Palettes built from #64ab2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #64ab2f in the Color Lab