#51A022#51A022

#51A022 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.1% C 0.174 H 136.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#51A022
RGBrgb(81, 160, 34)
HSLhsl(98, 65%, 38%)
HSVhsv(98, 79%, 63%)
CMYKcmyk(49.4%, 0%, 78.8%, 37.3%)
CIE-LABlab(58.98, -45.66, 53.72)
CIE-LCHlch(58.98, 70.51, 130.36°)
OKLaboklab(63.12% -0.127 0.1195)
OKLCHoklch(63.12% 0.174 136.7)
XYZxyz(16.2524, 27.0053, 5.8692)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A022 #7122A0
analogous
#90A022 #51A022 #22A032
triadic
#51A022 #2251A0 #A02251
tetradic
#51A022 #2290A0 #7122A0 #A03222
square
#51A022 #2290A0 #7122A0 #A03222
split-complementary
#51A022 #3222A0 #A02290
monochromatic
#1E3B0D #376E17 #51A022 #6BD22D #8EDD5F

Accessibility & contrast

On white

3.28
#51A022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#51A022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A022
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A022#FFFFFF#000000##000000
##51A0221.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#4D9A89
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #51a022;
/* rgb */ color: rgb(81, 160, 34);
/* oklch */ color: oklch(63.1% 0.174 136.7);
Tailwind
colors: {
  custom: {
    50: '#8abd68',
    500: '#51a022',
    950: '#000000',
  },
}
SCSS
$custom: #51a022;
$custom-light: #8abd68;
$custom-dark: #000000;
JSON
{
  "hex": "#51a022",
  "rgb": {
    "r": 81,
    "g": 160,
    "b": 34
  },
  "hsl": {
    "h": 97.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6312,
    "c": 0.17436,
    "h": 136.7
  },
  "luminance": 0.27006
}

Semantic roles & 50–950 ramp

primary
#51A022
secondary
#9C5CC2
accent
#40E8A9
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0C1207
muted
#7D817A

Preview Lab

Preview with #51A022

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

Preview Lab → · Contrast checker → · Palette generator →

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