#51A322#51A322

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

Color values

HEX#51A322
RGBrgb(81, 163, 34)
HSLhsl(98, 65%, 39%)
HSVhsv(98, 79%, 64%)
CMYKcmyk(50.3%, 0%, 79.1%, 36.1%)
CIE-LABlab(59.94, -46.85, 54.64)
CIE-LCHlch(59.94, 71.97, 130.61°)
OKLaboklab(63.91% -0.1301 0.1214)
OKLCHoklch(63.91% 0.178 137)
XYZxyz(16.7788, 28.0580, 6.0447)
Luminance0.2806 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A322 #7422A3
analogous
#91A322 #51A322 #22A334
triadic
#51A322 #2251A3 #A32251
tetradic
#51A322 #2291A3 #7422A3 #A33422
square
#51A322 #2291A3 #7422A3 #A33422
split-complementary
#51A322 #3422A3 #A32291
monochromatic
#1F3E0D #387017 #51A322 #6BD42F #8FDE61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A322#FFFFFF#000000##000000
##51A3221.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: #51a322;
/* rgb */ color: rgb(81, 163, 34);
/* oklch */ color: oklch(63.9% 0.178 137.0);
Tailwind
colors: {
  custom: {
    50: '#8abf68',
    500: '#51a322',
    950: '#000000',
  },
}
SCSS
$custom: #51a322;
$custom-light: #8abf68;
$custom-dark: #000000;
JSON
{
  "hex": "#51a322",
  "rgb": {
    "r": 81,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 98.14,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63911,
    "c": 0.17799,
    "h": 137
  },
  "luminance": 0.28059
}

Semantic roles & 50–950 ramp

primary
#51A322
secondary
#9E5EC3
accent
#3FE8AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A322

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

Preview Lab → · Contrast checker → · Palette generator →

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