#51A427#51A427

#51A427 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#51A427
RGBrgb(81, 164, 39)
HSLhsl(100, 62%, 40%)
HSVhsv(100, 76%, 64%)
CMYKcmyk(50.6%, 0%, 76.2%, 35.7%)
CIE-LABlab(60.29, -46.93, 53.32)
CIE-LCHlch(60.29, 71.03, 131.35°)
OKLaboklab(64.21% -0.1301 0.1194)
OKLCHoklch(64.21% 0.177 137.4)
XYZxyz(17.0345, 28.4455, 6.5120)
Luminance0.2845 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A427 #7A27A4
analogous
#90A427 #51A427 #27A43C
triadic
#51A427 #2751A4 #A42751
tetradic
#51A427 #2790A4 #7A27A4 #A43C27
square
#51A427 #2790A4 #7A27A4 #A43C27
split-complementary
#51A427 #3C27A4 #A42790
monochromatic
#20410F #39731B #51A427 #6BD038 #90DC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A427#FFFFFF#000000##000000
##51A4271.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)
#A9960A
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#4B9E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a427;
/* rgb */ color: rgb(81, 164, 39);
/* oklch */ color: oklch(64.2% 0.177 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ac06a',
    500: '#51a427',
    950: '#000000',
  },
}
SCSS
$custom: #51a427;
$custom-light: #8ac06a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a427",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 99.84,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64207,
    "c": 0.17656,
    "h": 137.4
  },
  "luminance": 0.28447
}

Semantic roles & 50–950 ramp

primary
#51A427
secondary
#A365C2
accent
#43E5AE
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A427

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

Preview Lab → · Contrast checker → · Palette generator →

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