Skip to content

#51df7f

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

RGB
81, 223, 127
HSL
139°, 69%, 60%
CMYK
64, 0, 43, 13
Luminance
0.5606

Every format

HEX#51df7f
RGBrgb(81, 223, 127)
HSLhsl(139, 69%, 60%)
CMYKcmyk(64%, 0%, 43%, 13%)
LABlab(79.6 -58.7 36.0)
LCHlch(79.6 68.9 148.4)
OKLCHoklch(0.804 0.182 150.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#51df7f on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#51df7f on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.8%
Green87.5%
Blue49.8%

CMYK percentages

Cyan63.7%
Magenta0.0%
Yellow43.0%
Key (black)12.5%

Color previews

#51df7f text on a black background

contrast 12.21:1

Card sample

#51df7f text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #51df7f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #51df7f in the Color Lab