#51D987#51D987

#51D987 is a light, vivid green. Relative luminance 0.531; OKLCH L 79.1% C 0.166 H 153.5°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#51D987
RGBrgb(81, 217, 135)
HSLhsl(144, 64%, 58%)
HSVhsv(144, 63%, 85%)
CMYKcmyk(62.7%, 0%, 37.8%, 14.9%)
CIE-LABlab(77.95, -55.03, 29.77)
CIE-LCHlch(77.95, 62.56, 151.59°)
OKLaboklab(79.1% -0.1489 0.0743)
OKLCHoklch(79.1% 0.166 153.5)
XYZxyz(32.5767, 53.1210, 31.4536)
Luminance0.5312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51D987 #D951A3
analogous
#5FD951 #51D987 #51D9CB
triadic
#51D987 #8751D9 #D98751
tetradic
#51D987 #515FD9 #D951A3 #D9CB51
square
#51D987 #515FD9 #D951A3 #D9CB51
split-complementary
#51D987 #CB51D9 #D9515F
monochromatic
#1F904C #2AC267 #51D987 #83E4AA #B5EFCC

Accessibility & contrast

On white

1.81
#51D987 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#51D987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51D987
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51D987#FFFFFF#000000##000000
##51D9871.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C881
Deuteranopia (green-blind)
#C7BC8C
Tritanopia (blue-blind)
#13D6C4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #51d987;
/* rgb */ color: rgb(81, 217, 135);
/* oklch */ color: oklch(79.1% 0.166 153.5);
Tailwind
colors: {
  custom: {
    50: '#8fe6aa',
    500: '#51d987',
    950: '#000000',
  },
}
SCSS
$custom: #51d987;
$custom-light: #8fe6aa;
$custom-dark: #000000;
JSON
{
  "hex": "#51d987",
  "rgb": {
    "r": 81,
    "g": 217,
    "b": 135
  },
  "hsl": {
    "h": 143.824,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.79099,
    "c": 0.16643,
    "h": 153.5
  },
  "luminance": 0.53124
}

Semantic roles & 50–950 ramp

primary
#51D987
secondary
#953971
accent
#41A5E7
background
#FCFEFD
surface
#F5FCF7
border
#CFD5D0
text
#0E1610
muted
#7F8481

Preview Lab

Preview with #51D987

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

Preview Lab → · Contrast checker → · Palette generator →

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