#51A020#51A020

#51A020 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.175 H 136.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#51A020
RGBrgb(81, 160, 32)
HSLhsl(97, 67%, 38%)
HSVhsv(97, 80%, 63%)
CMYKcmyk(49.4%, 0%, 80%, 37.3%)
CIE-LABlab(58.97, -45.78, 54.34)
CIE-LCHlch(58.97, 71.06, 130.11°)
OKLaboklab(63.11% -0.1274 0.1205)
OKLCHoklch(63.11% 0.175 136.6)
XYZxyz(16.2244, 26.9941, 5.7217)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A020 #6F20A0
analogous
#91A020 #51A020 #20A02F
triadic
#51A020 #2051A0 #A02051
tetradic
#51A020 #2091A0 #6F20A0 #A02F20
square
#51A020 #2091A0 #6F20A0 #A02F20
split-complementary
#51A020 #2F20A0 #A02091
monochromatic
#1D3A0C #376D16 #51A020 #6BD32A #8EDE5C

Accessibility & contrast

On white

3.28
#51A020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#51A020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A020
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A020#FFFFFF#000000##000000
##51A0201.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9B8B2F
Tritanopia (blue-blind)
#4D9A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a020;
/* rgb */ color: rgb(81, 160, 32);
/* oklch */ color: oklch(63.1% 0.175 136.6);
Tailwind
colors: {
  custom: {
    50: '#8abd67',
    500: '#51a020',
    950: '#000000',
  },
}
SCSS
$custom: #51a020;
$custom-light: #8abd67;
$custom-dark: #000000;
JSON
{
  "hex": "#51a020",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 97.031,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63108,
    "c": 0.17536,
    "h": 136.6
  },
  "luminance": 0.26995
}

Semantic roles & 50–950 ramp

primary
#51A020
secondary
#9A59C3
accent
#3EEAA8
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1206
muted
#7D817A

Preview Lab

Preview with #51A020

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

Preview Lab → · Contrast checker → · Palette generator →

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