#51A426#51A426

#51A426 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.2% C 0.177 H 137.4°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#51A426
RGBrgb(81, 164, 38)
HSLhsl(100, 62%, 40%)
HSVhsv(100, 77%, 64%)
CMYKcmyk(50.6%, 0%, 76.8%, 35.7%)
CIE-LABlab(60.28, -46.99, 53.66)
CIE-LCHlch(60.28, 71.33, 131.21°)
OKLaboklab(64.2% -0.1303 0.12)
OKLCHoklch(64.2% 0.177 137.4)
XYZxyz(17.0181, 28.4390, 6.4259)
Luminance0.2844 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A426 #7926A4
analogous
#90A426 #51A426 #26A43A
triadic
#51A426 #2651A4 #A42651
tetradic
#51A426 #2690A4 #7926A4 #A43A26
square
#51A426 #2690A4 #7926A4 #A43A26
split-complementary
#51A426 #3A26A4 #A42690
monochromatic
#20410F #38721A #51A426 #6BD137 #90DC68

Accessibility & contrast

On white

3.14
#51A426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#51A426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A426
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A426#FFFFFF#000000##000000
##51A4261.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99607
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#4C9E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a426;
/* rgb */ color: rgb(81, 164, 38);
/* oklch */ color: oklch(64.2% 0.177 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ac06a',
    500: '#51a426',
    950: '#000000',
  },
}
SCSS
$custom: #51a426;
$custom-light: #8ac06a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a426",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 38
  },
  "hsl": {
    "h": 99.524,
    "s": 62.376,
    "l": 39.608
  },
  "oklch": {
    "l": 0.642,
    "c": 0.1771,
    "h": 137.4
  },
  "luminance": 0.2844
}

Semantic roles & 50–950 ramp

primary
#51A426
secondary
#A264C2
accent
#42E5AE
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A426

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

Preview Lab → · Contrast checker → · Palette generator →

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