#51D780#51D780

#51D780 is a light, vivid green. Relative luminance 0.519; OKLCH L 78.5% C 0.170 H 151.8°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#51D780
RGBrgb(81, 215, 128)
HSLhsl(141, 63%, 58%)
HSVhsv(141, 62%, 84%)
CMYKcmyk(62.3%, 0%, 40.5%, 15.7%)
CIE-LABlab(77.22, -55.49, 32.39)
CIE-LCHlch(77.22, 64.26, 149.73°)
OKLaboklab(78.47% -0.15 0.0804)
OKLCHoklch(78.47% 0.17 151.8)
XYZxyz(31.5876, 51.9055, 28.7720)
Luminance0.5191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51D780 #D751A8
analogous
#65D751 #51D780 #51D7C3
triadic
#51D780 #8051D7 #D78051
tetradic
#51D780 #5165D7 #D751A8 #D7C351
square
#51D780 #5165D7 #D751A8 #D7C351
split-complementary
#51D780 #C351D7 #D75165
monochromatic
#208D47 #2CBF5F #51D780 #83E2A4 #B5EEC9

Accessibility & contrast

On white

1.85
#51D780 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#51D780 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51D780
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51D780#FFFFFF#000000##000000
##51D7801.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C67A
Deuteranopia (green-blind)
#C6BA86
Tritanopia (blue-blind)
#1DD4C1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #51d780;
/* rgb */ color: rgb(81, 215, 128);
/* oklch */ color: oklch(78.5% 0.170 151.8);
Tailwind
colors: {
  custom: {
    50: '#8fe4a5',
    500: '#51d780',
    950: '#000000',
  },
}
SCSS
$custom: #51d780;
$custom-light: #8fe4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#51d780",
  "rgb": {
    "r": 81,
    "g": 215,
    "b": 128
  },
  "hsl": {
    "h": 141.045,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.78468,
    "c": 0.17016,
    "h": 151.8
  },
  "luminance": 0.51909
}

Semantic roles & 50–950 ramp

primary
#51D780
secondary
#933973
accent
#42ACE6
background
#FCFEFC
surface
#F5FCF6
border
#CFD5D0
text
#0E160F
muted
#7F8480

Preview Lab

Preview with #51D780

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

Preview Lab → · Contrast checker → · Palette generator →

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