#51A626#51A626

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

Color values

HEX#51A626
RGBrgb(81, 166, 38)
HSLhsl(100, 63%, 40%)
HSVhsv(100, 77%, 65%)
CMYKcmyk(51.2%, 0%, 77.1%, 34.9%)
CIE-LABlab(60.92, -47.77, 54.28)
CIE-LCHlch(60.92, 72.31, 131.35°)
OKLaboklab(64.73% -0.1324 0.1213)
OKLCHoklch(64.73% 0.18 137.5)
XYZxyz(17.3788, 29.1604, 6.5461)
Luminance0.2916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A626 #7B26A6
analogous
#91A626 #51A626 #26A63B
triadic
#51A626 #2651A6 #A62651
tetradic
#51A626 #2691A6 #7B26A6 #A63B26
square
#51A626 #2691A6 #7B26A6 #A63B26
split-complementary
#51A626 #3B26A6 #A62691
monochromatic
#20420F #39741B #51A626 #6BD138 #90DD6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A626#FFFFFF#000000##000000
##51A6261.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)
#AC9706
Deuteranopia (green-blind)
#A19034
Tritanopia (blue-blind)
#4BA08E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a626;
/* rgb */ color: rgb(81, 166, 38);
/* oklch */ color: oklch(64.7% 0.180 137.5);
Tailwind
colors: {
  custom: {
    50: '#8ac16a',
    500: '#51a626',
    950: '#000000',
  },
}
SCSS
$custom: #51a626;
$custom-light: #8ac16a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a626",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 38
  },
  "hsl": {
    "h": 99.844,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.17953,
    "h": 137.5
  },
  "luminance": 0.29162
}

Semantic roles & 50–950 ramp

primary
#51A626
secondary
#A365C3
accent
#42E6AF
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A626

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

Preview Lab → · Contrast checker → · Palette generator →

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