#51A751#51A751

#51A751 is a light, vivid green. Relative luminance 0.300; OKLCH L 65.4% C 0.148 H 143.7°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#51A751
RGBrgb(81, 167, 81)
HSLhsl(120, 35%, 49%)
HSVhsv(120, 51%, 65%)
CMYKcmyk(51.5%, 0%, 51.5%, 34.5%)
CIE-LABlab(61.64, -43.85, 36.43)
CIE-LCHlch(61.64, 57.01, 140.28°)
OKLaboklab(65.44% -0.1192 0.0878)
OKLCHoklch(65.44% 0.148 143.7)
XYZxyz(18.6963, 29.9794, 12.5844)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A751 #A751A7
analogous
#7CA751 #51A751 #51A77C
triadic
#51A751 #5151A7 #A75151
tetradic
#51A751 #517CA7 #A751A7 #A77C51
square
#51A751 #517CA7 #A751A7 #A77C51
split-complementary
#51A751 #7C51A7 #A7517C
monochromatic
#295529 #3D7E3D #51A751 #78BD78 #A1D1A1

Accessibility & contrast

On white

3.00
#51A751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#51A751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A751
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A751#FFFFFF#000000##000000
##51A7511.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9A4A
Deuteranopia (green-blind)
#9E9257
Tritanopia (blue-blind)
#45A393
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a751;
/* rgb */ color: rgb(81, 167, 81);
/* oklch */ color: oklch(65.4% 0.148 143.7);
Tailwind
colors: {
  custom: {
    50: '#89c284',
    500: '#51a751',
    950: '#000000',
  },
}
SCSS
$custom: #51a751;
$custom-light: #89c284;
$custom-dark: #000000;
JSON
{
  "hex": "#51a751",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 81
  },
  "hsl": {
    "h": 120,
    "s": 34.677,
    "l": 48.627
  },
  "oklch": {
    "l": 0.6544,
    "c": 0.14806,
    "h": 143.7
  },
  "luminance": 0.29981
}

Semantic roles & 50–950 ramp

primary
#51A751
secondary
#BF95BF
accent
#5DCBCB
background
#F8FCF8
surface
#F0F8EF
border
#CBD1CA
text
#0C120B
muted
#7D817C

Preview Lab

Preview with #51A751

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

Preview Lab → · Contrast checker → · Palette generator →

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