#51A120#51A120

#51A120 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.177 H 136.7°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#51A120
RGBrgb(81, 161, 32)
HSLhsl(97, 67%, 38%)
HSVhsv(97, 80%, 63%)
CMYKcmyk(49.7%, 0%, 80.1%, 36.9%)
CIE-LABlab(59.29, -46.17, 54.65)
CIE-LCHlch(59.29, 71.54, 130.20°)
OKLaboklab(63.37% -0.1285 0.1211)
OKLCHoklch(63.37% 0.177 136.7)
XYZxyz(16.3984, 27.3422, 5.7797)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A120 #7020A1
analogous
#91A120 #51A120 #20A12F
triadic
#51A120 #2051A1 #A12051
tetradic
#51A120 #2091A1 #7020A1 #A12F20
square
#51A120 #2091A1 #7020A1 #A12F20
split-complementary
#51A120 #2F20A1 #A12091
monochromatic
#1E3B0C #376E16 #51A120 #6BD42A #8EDF5D

Accessibility & contrast

On white

3.25
#51A120 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#51A120 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A120
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A120#FFFFFF#000000##000000
##51A1201.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#4D9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a120;
/* rgb */ color: rgb(81, 161, 32);
/* oklch */ color: oklch(63.4% 0.177 136.7);
Tailwind
colors: {
  custom: {
    50: '#8abd67',
    500: '#51a120',
    950: '#000000',
  },
}
SCSS
$custom: #51a120;
$custom-light: #8abd67;
$custom-dark: #000000;
JSON
{
  "hex": "#51a120",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 32
  },
  "hsl": {
    "h": 97.209,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.17656,
    "h": 136.7
  },
  "luminance": 0.27343
}

Semantic roles & 50–950 ramp

primary
#51A120
secondary
#9B5AC3
accent
#3EEAA9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1206
muted
#7D817A

Preview Lab

Preview with #51A120

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

Preview Lab → · Contrast checker → · Palette generator →

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