#51D862#51D862

#51D862 is a light, vivid green. Relative luminance 0.517; OKLCH L 78.3% C 0.198 H 145.5°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#51D862
RGBrgb(81, 216, 98)
HSLhsl(128, 63%, 58%)
HSVhsv(128, 63%, 85%)
CMYKcmyk(62.5%, 0%, 54.6%, 15.3%)
CIE-LABlab(77.13, -60.40, 46.96)
CIE-LCHlch(77.13, 76.51, 142.13°)
OKLaboklab(78.25% -0.1634 0.1121)
OKLCHoklch(78.25% 0.198 145.5)
XYZxyz(30.1519, 51.7399, 19.9507)
Luminance0.5174 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51D862 #D851C7
analogous
#83D851 #51D862 #51D8A6
triadic
#51D862 #6251D8 #D86251
tetradic
#51D862 #5183D8 #D851C7 #D8A651
square
#51D862 #5183D8 #D851C7 #D8A651
split-complementary
#51D862 #A651D8 #D85183
monochromatic
#208F2E #2BC13E #51D862 #83E38F #B5EEBC

Accessibility & contrast

On white

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

On black

11.35
#51D862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51D862
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51D862#FFFFFF#000000##000000
##51D8621.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC557
Deuteranopia (green-blind)
#CABA6B
Tritanopia (blue-blind)
#2FD3BE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #51d862;
/* rgb */ color: rgb(81, 216, 98);
/* oklch */ color: oklch(78.3% 0.198 145.5);
Tailwind
colors: {
  custom: {
    50: '#90e591',
    500: '#51d862',
    950: '#000000',
  },
}
SCSS
$custom: #51d862;
$custom-light: #90e591;
$custom-dark: #000000;
JSON
{
  "hex": "#51d862",
  "rgb": {
    "r": 81,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 127.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78254,
    "c": 0.19813,
    "h": 145.5
  },
  "luminance": 0.51743
}

Semantic roles & 50–950 ramp

primary
#51D862
secondary
#943989
accent
#41D2E6
background
#FCFEFC
surface
#F5FCF4
border
#CFD5CE
text
#0E160D
muted
#7F847F

Preview Lab

Preview with #51D862

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

Preview Lab → · Contrast checker → · Palette generator →

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