#51A221#51A221

#51A221 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.6% C 0.177 H 136.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#51A221
RGBrgb(81, 162, 33)
HSLhsl(98, 66%, 38%)
HSVhsv(98, 80%, 64%)
CMYKcmyk(50%, 0%, 79.6%, 36.5%)
CIE-LABlab(59.62, -46.51, 54.64)
CIE-LCHlch(59.62, 71.76, 130.40°)
OKLaboklab(63.64% -0.1293 0.1213)
OKLCHoklch(63.64% 0.177 136.8)
XYZxyz(16.5877, 27.6986, 5.9108)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A221 #7221A2
analogous
#91A221 #51A221 #21A231
triadic
#51A221 #2151A2 #A22151
tetradic
#51A221 #2191A2 #7221A2 #A23121
square
#51A221 #2191A2 #7221A2 #A23121
split-complementary
#51A221 #3121A2 #A22191
monochromatic
#1E3C0C #386F17 #51A221 #6BD42C #8EDE5F

Accessibility & contrast

On white

3.21
#51A221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#51A221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A221
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A221#FFFFFF#000000##000000
##51A2211.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#4C9C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #51a221;
/* rgb */ color: rgb(81, 162, 33);
/* oklch */ color: oklch(63.6% 0.177 136.8);
Tailwind
colors: {
  custom: {
    50: '#8abe67',
    500: '#51a221',
    950: '#000000',
  },
}
SCSS
$custom: #51a221;
$custom-light: #8abe67;
$custom-dark: #000000;
JSON
{
  "hex": "#51a221",
  "rgb": {
    "r": 81,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 97.674,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63642,
    "c": 0.17728,
    "h": 136.8
  },
  "luminance": 0.277
}

Semantic roles & 50–950 ramp

primary
#51A221
secondary
#9D5CC3
accent
#3FE9AA
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A221

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

Preview Lab → · Contrast checker → · Palette generator →

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