#51A627#51A627

#51A627 is a light, vivid green. Relative luminance 0.292; OKLCH L 64.7% C 0.179 H 137.6°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#51A627
RGBrgb(81, 166, 39)
HSLhsl(100, 62%, 40%)
HSVhsv(100, 77%, 65%)
CMYKcmyk(51.2%, 0%, 76.5%, 34.9%)
CIE-LABlab(60.93, -47.71, 53.94)
CIE-LCHlch(60.93, 72.02, 131.49°)
OKLaboklab(64.73% -0.1322 0.1207)
OKLCHoklch(64.73% 0.179 137.6)
XYZxyz(17.3952, 29.1670, 6.6322)
Luminance0.2917 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A627 #7C27A6
analogous
#91A627 #51A627 #27A63C
triadic
#51A627 #2751A6 #A62751
tetradic
#51A627 #2791A6 #7C27A6 #A63C27
square
#51A627 #2791A6 #7C27A6 #A63C27
split-complementary
#51A627 #3C27A6 #A62791
monochromatic
#214310 #39741B #51A627 #6CD13A #91DC6B

Accessibility & contrast

On white

3.07
#51A627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#51A627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A627
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A627#FFFFFF#000000##000000
##51A6271.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9709
Deuteranopia (green-blind)
#A09035
Tritanopia (blue-blind)
#4BA08E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a627;
/* rgb */ color: rgb(81, 166, 39);
/* oklch */ color: oklch(64.7% 0.179 137.6);
Tailwind
colors: {
  custom: {
    50: '#8ac16b',
    500: '#51a627',
    950: '#000000',
  },
}
SCSS
$custom: #51a627;
$custom-light: #8ac16b;
$custom-dark: #000000;
JSON
{
  "hex": "#51a627",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 100.157,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64733,
    "c": 0.17899,
    "h": 137.6
  },
  "luminance": 0.29168
}

Semantic roles & 50–950 ramp

primary
#51A627
secondary
#A466C3
accent
#43E5AF
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A627

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

Preview Lab → · Contrast checker → · Palette generator →

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