#51A421#51A421

#51A421 is a light, vivid yellow-green. Relative luminance 0.284; OKLCH L 64.2% C 0.180 H 137.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#51A421
RGBrgb(81, 164, 33)
HSLhsl(98, 66%, 39%)
HSVhsv(98, 80%, 64%)
CMYKcmyk(50.6%, 0%, 79.9%, 35.7%)
CIE-LABlab(60.26, -47.29, 55.25)
CIE-LCHlch(60.26, 72.72, 130.57°)
OKLaboklab(64.17% -0.1314 0.1225)
OKLCHoklch(64.17% 0.18 137)
XYZxyz(16.9428, 28.4088, 6.0292)
Luminance0.2841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A421 #7421A4
analogous
#92A421 #51A421 #21A432
triadic
#51A421 #2151A4 #A42151
tetradic
#51A421 #2192A4 #7421A4 #A43221
square
#51A421 #2192A4 #7421A4 #A43221
split-complementary
#51A421 #3221A4 #A42192
monochromatic
#1F3E0C #387117 #51A421 #6BD52D #8FDF60

Accessibility & contrast

On white

3.14
#51A421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#51A421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A421
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A421#FFFFFF#000000##000000
##51A4211.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#4C9E8C
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #51a421;
/* rgb */ color: rgb(81, 164, 33);
/* oklch */ color: oklch(64.2% 0.180 137.0);
Tailwind
colors: {
  custom: {
    50: '#8ac068',
    500: '#51a421',
    950: '#000000',
  },
}
SCSS
$custom: #51a421;
$custom-light: #8ac068;
$custom-dark: #000000;
JSON
{
  "hex": "#51a421",
  "rgb": {
    "r": 81,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 98.015,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64169,
    "c": 0.17968,
    "h": 137
  },
  "luminance": 0.2841
}

Semantic roles & 50–950 ramp

primary
#51A421
secondary
#9E5DC4
accent
#3EE9AB
background
#F8FBF6
surface
#F0F7EB
border
#CBD0C6
text
#0D1207
muted
#7D817A

Preview Lab

Preview with #51A421

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

Preview Lab → · Contrast checker → · Palette generator →

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