#51A620#51A620

#51A620 is a light, vivid yellow-green. Relative luminance 0.291; OKLCH L 64.7% C 0.183 H 137.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#51A620
RGBrgb(81, 166, 32)
HSLhsl(98, 68%, 39%)
HSVhsv(98, 81%, 65%)
CMYKcmyk(51.2%, 0%, 80.7%, 34.9%)
CIE-LABlab(60.89, -48.13, 56.14)
CIE-LCHlch(60.89, 73.94, 130.60°)
OKLaboklab(64.69% -0.1337 0.1243)
OKLCHoklch(64.69% 0.183 137.1)
XYZxyz(17.2897, 29.1248, 6.0768)
Luminance0.2913 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A620 #7520A6
analogous
#94A620 #51A620 #20A632
triadic
#51A620 #2051A6 #A62051
tetradic
#51A620 #2094A6 #7520A6 #A63220
square
#51A620 #2094A6 #7520A6 #A63220
split-complementary
#51A620 #3220A6 #A62094
monochromatic
#1F3F0C #387316 #51A620 #6BD62D #8FE060

Accessibility & contrast

On white

3.08
#51A620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#51A620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A620
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A620#FFFFFF#000000##000000
##51A6201.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#4CA08D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #51a620;
/* rgb */ color: rgb(81, 166, 32);
/* oklch */ color: oklch(64.7% 0.183 137.1);
Tailwind
colors: {
  custom: {
    50: '#8bc168',
    500: '#51a620',
    950: '#000000',
  },
}
SCSS
$custom: #51a620;
$custom-light: #8bc168;
$custom-dark: #000000;
JSON
{
  "hex": "#51a620",
  "rgb": {
    "r": 81,
    "g": 166,
    "b": 32
  },
  "hsl": {
    "h": 98.06,
    "s": 67.677,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64691,
    "c": 0.18253,
    "h": 137.1
  },
  "luminance": 0.29126
}

Semantic roles & 50–950 ramp

primary
#51A620
secondary
#9F5DC5
accent
#3DEBAB
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A620

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

Preview Lab → · Contrast checker → · Palette generator →

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