#51A327#51A327

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

Color values

HEX#51A327
RGBrgb(81, 163, 39)
HSLhsl(100, 61%, 40%)
HSVhsv(100, 76%, 64%)
CMYKcmyk(50.3%, 0%, 76.1%, 36.1%)
CIE-LABlab(59.97, -46.54, 53.01)
CIE-LCHlch(59.97, 70.54, 131.28°)
OKLaboklab(63.94% -0.129 0.1187)
OKLCHoklch(63.94% 0.175 137.4)
XYZxyz(16.8562, 28.0890, 6.4526)
Luminance0.2809 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A327 #7927A3
analogous
#8FA327 #51A327 #27A33B
triadic
#51A327 #2751A3 #A32751
tetradic
#51A327 #278FA3 #7927A3 #A33B27
square
#51A327 #278FA3 #7927A3 #A33B27
split-complementary
#51A327 #3B27A3 #A3278F
monochromatic
#20400F #38721B #51A327 #6BCF38 #90DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A327#FFFFFF#000000##000000
##51A3271.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)
#A8950B
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#4C9D8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #51a327;
/* rgb */ color: rgb(81, 163, 39);
/* oklch */ color: oklch(63.9% 0.175 137.4);
Tailwind
colors: {
  custom: {
    50: '#8abf6a',
    500: '#51a327',
    950: '#000000',
  },
}
SCSS
$custom: #51a327;
$custom-light: #8abf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#51a327",
  "rgb": {
    "r": 81,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 99.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.63943,
    "c": 0.17533,
    "h": 137.4
  },
  "luminance": 0.2809
}

Semantic roles & 50–950 ramp

primary
#51A327
secondary
#A264C1
accent
#43E4AE
background
#F8FBF6
surface
#F0F7EC
border
#CBD0C7
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A327

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

Preview Lab → · Contrast checker → · Palette generator →

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