#51A423#51A423

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

Color values

HEX#51A423
RGBrgb(81, 164, 35)
HSLhsl(99, 65%, 39%)
HSVhsv(99, 79%, 64%)
CMYKcmyk(50.6%, 0%, 78.7%, 35.7%)
CIE-LABlab(60.27, -47.18, 54.63)
CIE-LCHlch(60.27, 72.18, 130.82°)
OKLaboklab(64.18% -0.131 0.1215)
OKLCHoklch(64.18% 0.179 137.1)
XYZxyz(16.9716, 28.4204, 6.1812)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A423 #7623A4
analogous
#92A423 #51A423 #23A436
triadic
#51A423 #2351A4 #A42351
tetradic
#51A423 #2392A4 #7623A4 #A43623
square
#51A423 #2392A4 #7623A4 #A43623
split-complementary
#51A423 #3623A4 #A42392
monochromatic
#1F3F0D #387218 #51A423 #6BD331 #8FDE64

Accessibility & contrast

On white

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

On black

6.68
#51A423 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A423
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A423#FFFFFF#000000##000000
##51A4231.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a423;
/* rgb */ color: rgb(81, 164, 35);
/* oklch */ color: oklch(64.2% 0.179 137.1);
Tailwind
colors: {
  custom: {
    50: '#8ac069',
    500: '#51a423',
    950: '#000000',
  },
}
SCSS
$custom: #51a423;
$custom-light: #8ac069;
$custom-dark: #000000;
JSON
{
  "hex": "#51a423",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 35
  },
  "hsl": {
    "h": 98.605,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.17868,
    "h": 137.1
  },
  "luminance": 0.28422
}

Semantic roles & 50–950 ramp

primary
#51A423
secondary
#A060C3
accent
#40E8AC
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A423

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

Preview Lab → · Contrast checker → · Palette generator →

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