#51D877#51D877

#51D877 is a light, vivid green. Relative luminance 0.522; OKLCH L 78.6% C 0.180 H 149.5°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#51D877
RGBrgb(81, 216, 119)
HSLhsl(137, 63%, 58%)
HSVhsv(137, 63%, 85%)
CMYKcmyk(62.5%, 0%, 44.9%, 15.3%)
CIE-LABlab(77.39, -57.37, 37.14)
CIE-LCHlch(77.39, 68.34, 147.08°)
OKLaboklab(78.56% -0.1549 0.0911)
OKLCHoklch(78.56% 0.18 149.5)
XYZxyz(31.2766, 52.1898, 25.8746)
Luminance0.5219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51D877 #D851B2
analogous
#6ED851 #51D877 #51D8BA
triadic
#51D877 #7751D8 #D87751
tetradic
#51D877 #516ED8 #D851B2 #D8BA51
square
#51D877 #516ED8 #D851B2 #D8BA51
split-complementary
#51D877 #BA51D8 #D8516E
monochromatic
#208F3F #2BC155 #51D877 #83E39E #B5EEC5

Accessibility & contrast

On white

1.84
#51D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#51D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51D877
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51D877#FFFFFF#000000##000000
##51D8771.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC670
Deuteranopia (green-blind)
#C8BA7E
Tritanopia (blue-blind)
#24D4C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #51d877;
/* rgb */ color: rgb(81, 216, 119);
/* oklch */ color: oklch(78.6% 0.180 149.5);
Tailwind
colors: {
  custom: {
    50: '#8fe59f',
    500: '#51d877',
    950: '#000000',
  },
}
SCSS
$custom: #51d877;
$custom-light: #8fe59f;
$custom-dark: #000000;
JSON
{
  "hex": "#51d877",
  "rgb": {
    "r": 81,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 136.889,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78564,
    "c": 0.17969,
    "h": 149.5
  },
  "luminance": 0.52193
}

Semantic roles & 50–950 ramp

primary
#51D877
secondary
#94397A
accent
#41B8E6
background
#FCFEFC
surface
#F5FCF5
border
#CFD5CF
text
#0E160F
muted
#7F8480

Preview Lab

Preview with #51D877

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#51D877 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva