#51D978#51D978

#51D978 is a light, vivid green. Relative luminance 0.527; OKLCH L 78.8% C 0.180 H 149.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#51D978
RGBrgb(81, 217, 120)
HSLhsl(137, 64%, 58%)
HSVhsv(137, 63%, 85%)
CMYKcmyk(62.7%, 0%, 44.7%, 14.9%)
CIE-LABlab(77.71, -57.58, 37.06)
CIE-LCHlch(77.71, 68.47, 147.24°)
OKLaboklab(78.83% -0.1554 0.091)
OKLCHoklch(78.83% 0.18 149.7)
XYZxyz(31.5940, 52.7279, 26.2782)
Luminance0.5273 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51D978 #D951B2
analogous
#6ED951 #51D978 #51D9BC
triadic
#51D978 #7851D9 #D97851
tetradic
#51D978 #516ED9 #D951B2 #D9BC51
square
#51D978 #516ED9 #D951B2 #D9BC51
split-complementary
#51D978 #BC51D9 #D9516E
monochromatic
#1F9040 #2AC256 #51D978 #83E49F #B5EFC6

Accessibility & contrast

On white

1.82
#51D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#51D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51D978
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51D978#FFFFFF#000000##000000
##51D9781.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC771
Deuteranopia (green-blind)
#C9BB7F
Tritanopia (blue-blind)
#23D5C2
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #51d978;
/* rgb */ color: rgb(81, 217, 120);
/* oklch */ color: oklch(78.8% 0.180 149.7);
Tailwind
colors: {
  custom: {
    50: '#8fe6a0',
    500: '#51d978',
    950: '#000000',
  },
}
SCSS
$custom: #51d978;
$custom-light: #8fe6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#51d978",
  "rgb": {
    "r": 81,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 137.206,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.78832,
    "c": 0.18011,
    "h": 149.7
  },
  "luminance": 0.52731
}

Semantic roles & 50–950 ramp

primary
#51D978
secondary
#95397B
accent
#41B7E7
background
#FCFEFC
surface
#F5FCF5
border
#CFD5CF
text
#0E160F
muted
#7F8480

Preview Lab

Preview with #51D978

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

Preview Lab → · Contrast checker → · Palette generator →

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