Skip to content

#7cca21

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

RGB
124, 202, 33
HSL
88°, 72%, 46%
CMYK
39, 0, 84, 21
Luminance
0.4664

Every format

HEX#7cca21
RGBrgb(124, 202, 33)
HSLhsl(88, 72%, 46%)
CMYKcmyk(39%, 0%, 84%, 21%)
LABlab(74.0 -48.4 68.4)
LCHlch(74.0 83.8 125.3)
OKLCHoklch(0.759 0.203 132.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7cca21 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#7cca21 on black: 10.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red48.6%
Green79.2%
Blue12.9%

CMYK percentages

Cyan38.6%
Magenta0.0%
Yellow83.7%
Key (black)20.8%

Color previews

#7cca21 text on a black background

contrast 10.33:1

Card sample

#7cca21 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7cca21;
Background color
Panel with #7cca21 background
background-color: #7cca21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7cca21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(124, 202, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 202, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7cca21;
background: linear-gradient(135deg, #7cca21, #21CA37);

Monochromatic scale

Palettes built from #7cca21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7cca21 in the Color Lab