Skip to content

#20c040

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

RGB
32, 192, 64
HSL
132°, 71%, 44%
CMYK
83, 0, 67, 25
Luminance
0.3838

Every format

HEX#20c040
RGBrgb(32, 192, 64)
HSLhsl(132, 71%, 44%)
CMYKcmyk(83%, 0%, 67%, 25%)
LABlab(68.3 -64.1 51.7)
LCHlch(68.3 82.4 141.1)
OKLCHoklch(0.706 0.210 145.3)

Copy-ready code

/* CSS */
color: #20c040;
background-color: #20c040;
/* Tailwind (arbitrary) */
class="text-[#20c040] bg-[#20c040]"
/* SCSS */
$brand: #20c040;
/* SwiftUI */
Color(red: 0.125, green: 0.753, blue: 0.251)
/* Android */
Color.parseColor("#20c040")

Accessibility — WCAG contrast

Aa
#20c040 on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#20c040 on black: 8.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red12.5%
Green75.3%
Blue25.1%

CMYK percentages

Cyan83.3%
Magenta0.0%
Yellow66.7%
Key (black)24.7%

Color previews

#20c040 text on a black background

contrast 8.68:1

Card sample

#20c040 text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #20c040;
Background color
Panel with #20c040 background
background-color: #20c040;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #20c040;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(32, 192, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(32, 192, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #20c040;
background: linear-gradient(135deg, #20c040, #20C0AB);

Monochromatic scale

Palettes built from #20c040

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #20c040 in the Color Lab