#51A323#51A323

#51A323 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 63.9% C 0.177 H 137.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#51A323
RGBrgb(81, 163, 35)
HSLhsl(98, 65%, 39%)
HSVhsv(98, 79%, 64%)
CMYKcmyk(50.3%, 0%, 78.5%, 36.1%)
CIE-LABlab(59.95, -46.79, 54.32)
CIE-LCHlch(59.95, 71.70, 130.74°)
OKLaboklab(63.92% -0.1299 0.1209)
OKLCHoklch(63.92% 0.177 137.1)
XYZxyz(16.7934, 28.0639, 6.1217)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A323 #7523A3
analogous
#91A323 #51A323 #23A335
triadic
#51A323 #2351A3 #A32351
tetradic
#51A323 #2391A3 #7523A3 #A33523
square
#51A323 #2391A3 #7523A3 #A33523
split-complementary
#51A323 #3523A3 #A32391
monochromatic
#1F3E0D #387118 #51A323 #6BD331 #8FDD63

Accessibility & contrast

On white

3.18
#51A323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#51A323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A323
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A323#FFFFFF#000000##000000
##51A3231.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#4C9D8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #51a323;
/* rgb */ color: rgb(81, 163, 35);
/* oklch */ color: oklch(63.9% 0.177 137.1);
Tailwind
colors: {
  custom: {
    50: '#8abf68',
    500: '#51a323',
    950: '#000000',
  },
}
SCSS
$custom: #51a323;
$custom-light: #8abf68;
$custom-dark: #000000;
JSON
{
  "hex": "#51a323",
  "rgb": {
    "r": 81,
    "g": 163,
    "b": 35
  },
  "hsl": {
    "h": 98.438,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.17748,
    "h": 137.1
  },
  "luminance": 0.28065
}

Semantic roles & 50–950 ramp

primary
#51A323
secondary
#9F5FC3
accent
#40E8AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A323

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

Preview Lab → · Contrast checker → · Palette generator →

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