Skip to content

#51cd3b

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

RGB
81, 205, 59
HSL
111°, 59%, 52%
CMYK
61, 0, 71, 20
Luminance
0.4573

Every format

HEX#51cd3b
RGBrgb(81, 205, 59)
HSLhsl(111, 59%, 52%)
CMYKcmyk(61%, 0%, 71%, 20%)
LABlab(73.4 -60.6 59.3)
LCHlch(73.4 84.8 135.6)
OKLCHoklch(0.750 0.213 140.9)

Copy-ready code

/* CSS */
color: #51cd3b;
background-color: #51cd3b;
/* Tailwind (arbitrary) */
class="text-[#51cd3b] bg-[#51cd3b]"
/* SCSS */
$brand: #51cd3b;
/* SwiftUI */
Color(red: 0.318, green: 0.804, blue: 0.231)
/* Android */
Color.parseColor("#51cd3b")

Accessibility — WCAG contrast

Aa
#51cd3b on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#51cd3b on black: 10.15:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.8%
Green80.4%
Blue23.1%

CMYK percentages

Cyan60.5%
Magenta0.0%
Yellow71.2%
Key (black)19.6%

Color previews

#51cd3b text on a black background

contrast 10.15:1

Card sample

#51cd3b text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #51cd3b;
Background color
Panel with #51cd3b background
background-color: #51cd3b;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #51cd3b;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(81, 205, 59, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 205, 59, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51cd3b;
background: linear-gradient(135deg, #51cd3b, #3BCD87);

Monochromatic scale

Palettes built from #51cd3b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #51cd3b in the Color Lab