#51A325#51A325

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

Color values

HEX#51A325
RGBrgb(81, 163, 37)
HSLhsl(99, 63%, 39%)
HSVhsv(99, 77%, 64%)
CMYKcmyk(50.3%, 0%, 77.3%, 36.1%)
CIE-LABlab(59.96, -46.67, 53.68)
CIE-LCHlch(59.96, 71.13, 131.00°)
OKLaboklab(63.93% -0.1295 0.1199)
OKLCHoklch(63.93% 0.176 137.2)
XYZxyz(16.8239, 28.0761, 6.2826)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A325 #7725A3
analogous
#90A325 #51A325 #25A338
triadic
#51A325 #2551A3 #A32551
tetradic
#51A325 #2590A3 #7725A3 #A33825
square
#51A325 #2590A3 #7725A3 #A33825
split-complementary
#51A325 #3825A3 #A32590
monochromatic
#1F3F0E #38711A #51A325 #6BD134 #8FDC66

Accessibility & contrast

On white

3.17
#51A325 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#51A325 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A325
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A325#FFFFFF#000000##000000
##51A3251.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51a325;
/* rgb */ color: rgb(81, 163, 37);
/* oklch */ color: oklch(63.9% 0.176 137.2);
Tailwind
colors: {
  custom: {
    50: '#8abf69',
    500: '#51a325',
    950: '#000000',
  },
}
SCSS
$custom: #51a325;
$custom-light: #8abf69;
$custom-dark: #000000;
JSON
{
  "hex": "#51a325",
  "rgb": {
    "r": 81,
    "g": 163,
    "b": 37
  },
  "hsl": {
    "h": 99.048,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.6393,
    "c": 0.17643,
    "h": 137.2
  },
  "luminance": 0.28077
}

Semantic roles & 50–950 ramp

primary
#51A325
secondary
#A062C2
accent
#42E6AD
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A325

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

Preview Lab → · Contrast checker → · Palette generator →

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