#51B151#51B151

#51B151 is a light, vivid green. Relative luminance 0.338; OKLCH L 68.0% C 0.162 H 143.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#51B151
RGBrgb(81, 177, 81)
HSLhsl(120, 38%, 51%)
HSVhsv(120, 54%, 69%)
CMYKcmyk(54.2%, 0%, 54.2%, 30.6%)
CIE-LABlab(64.79, -47.91, 40.27)
CIE-LCHlch(64.79, 62.58, 139.95°)
OKLaboklab(68.03% -0.1302 0.0962)
OKLCHoklch(68.03% 0.162 143.5)
XYZxyz(20.5996, 33.7860, 13.2188)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51B151 #B151B1
analogous
#81B151 #51B151 #51B181
triadic
#51B151 #5151B1 #B15151
tetradic
#51B151 #5181B1 #B151B1 #B18151
square
#51B151 #5181B1 #B151B1 #B18151
split-complementary
#51B151 #8151B1 #B15181
monochromatic
#2A5E2A #3D883D #51B151 #7BC47B #A6D7A6

Accessibility & contrast

On white

2.71
#51B151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#51B151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51B151
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51B151#FFFFFF#000000##000000
##51B1511.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A248
Deuteranopia (green-blind)
#A89A58
Tritanopia (blue-blind)
#42AC9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #51b151;
/* rgb */ color: rgb(81, 177, 81);
/* oklch */ color: oklch(68.0% 0.162 143.5);
Tailwind
colors: {
  custom: {
    50: '#8ac984',
    500: '#51b151',
    950: '#000000',
  },
}
SCSS
$custom: #51b151;
$custom-light: #8ac984;
$custom-dark: #000000;
JSON
{
  "hex": "#51b151",
  "rgb": {
    "r": 81,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 120,
    "s": 38.095,
    "l": 50.588
  },
  "oklch": {
    "l": 0.68032,
    "c": 0.16191,
    "h": 143.5
  },
  "luminance": 0.33788
}

Semantic roles & 50–950 ramp

primary
#51B151
secondary
#C49AC4
accent
#5ACECE
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C130B
muted
#7D827C

Preview Lab

Preview with #51B151

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

Preview Lab → · Contrast checker → · Palette generator →

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