#51A121#51A121

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

Color values

HEX#51A121
RGBrgb(81, 161, 33)
HSLhsl(98, 66%, 38%)
HSVhsv(98, 80%, 63%)
CMYKcmyk(49.7%, 0%, 79.5%, 36.9%)
CIE-LABlab(59.29, -46.12, 54.34)
CIE-LCHlch(59.29, 71.27, 130.32°)
OKLaboklab(63.38% -0.1282 0.1206)
OKLCHoklch(63.38% 0.176 136.8)
XYZxyz(16.4122, 27.3477, 5.8524)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A121 #7121A1
analogous
#91A121 #51A121 #21A131
triadic
#51A121 #2151A1 #A12151
tetradic
#51A121 #2191A1 #7121A1 #A13121
square
#51A121 #2191A1 #7121A1 #A13121
split-complementary
#51A121 #3121A1 #A12191
monochromatic
#1E3B0C #376E17 #51A121 #6BD42C #8EDE5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51A121#FFFFFF#000000##000000
##51A1211.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)
#9C8C30
Tritanopia (blue-blind)
#4C9B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #51a121;
/* rgb */ color: rgb(81, 161, 33);
/* oklch */ color: oklch(63.4% 0.176 136.8);
Tailwind
colors: {
  custom: {
    50: '#8abd67',
    500: '#51a121',
    950: '#000000',
  },
}
SCSS
$custom: #51a121;
$custom-light: #8abd67;
$custom-dark: #000000;
JSON
{
  "hex": "#51a121",
  "rgb": {
    "r": 81,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 97.5,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.17607,
    "h": 136.8
  },
  "luminance": 0.27349
}

Semantic roles & 50–950 ramp

primary
#51A121
secondary
#9C5BC3
accent
#3FE9A9
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A121

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

Preview Lab → · Contrast checker → · Palette generator →

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