Skip to content

#51fd2f

a balanced, electric green · cool · closest name: lime

RGB
81, 253, 47
HSL
110°, 98%, 59%
CMYK
68, 0, 81, 1
Luminance
0.7221

Every format

HEX#51fd2f
RGBrgb(81, 253, 47)
HSLhsl(110, 98%, 59%)
CMYKcmyk(68%, 0%, 81%, 1%)
LABlab(88.1 -76.9 77.1)
LCHlch(88.1 108.9 134.9)
OKLCHoklch(0.872 0.271 141.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#51fd2f on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#51fd2f on black: 15.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red31.8%
Green99.2%
Blue18.4%

CMYK percentages

Cyan68.0%
Magenta0.0%
Yellow81.4%
Key (black)0.8%

Color previews

#51fd2f text on a black background

contrast 15.44:1

Card sample

#51fd2f text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(81, 253, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(81, 253, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #51fd2f;
background: linear-gradient(135deg, #51fd2f, #2FFD96);

Monochromatic scale

Palettes built from #51fd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #51fd2f in the Color Lab