Skip to content

#78cf21

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

RGB
120, 207, 33
HSL
90°, 73%, 47%
CMYK
42, 0, 84, 19
Luminance
0.4873

Every format

HEX#78cf21
RGBrgb(120, 207, 33)
HSLhsl(90, 73%, 47%)
CMYKcmyk(42%, 0%, 84%, 19%)
LABlab(75.3 -51.8 69.5)
LCHlch(75.3 86.6 126.7)
OKLCHoklch(0.770 0.210 133.9)

Copy-ready code

/* CSS */
color: #78cf21;
background-color: #78cf21;
/* Tailwind (arbitrary) */
class="text-[#78cf21] bg-[#78cf21]"
/* SCSS */
$brand: #78cf21;
/* SwiftUI */
Color(red: 0.471, green: 0.812, blue: 0.129)
/* Android */
Color.parseColor("#78cf21")

Accessibility — WCAG contrast

Aa
#78cf21 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#78cf21 on black: 10.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.1%
Green81.2%
Blue12.9%

CMYK percentages

Cyan42.0%
Magenta0.0%
Yellow84.1%
Key (black)18.8%

Color previews

#78cf21 text on a black background

contrast 10.75:1

Card sample

#78cf21 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #78cf21;
Background color
Panel with #78cf21 background
background-color: #78cf21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #78cf21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(120, 207, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(120, 207, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #78cf21;
background: linear-gradient(135deg, #78cf21, #21CF3E);

Monochromatic scale

Palettes built from #78cf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #78cf21 in the Color Lab