#51A722#51A722

#51A722 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.0% C 0.183 H 137.3°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#51A722
RGBrgb(81, 167, 34)
HSLhsl(99, 66%, 39%)
HSVhsv(99, 80%, 65%)
CMYKcmyk(51.5%, 0%, 79.6%, 34.5%)
CIE-LABlab(61.22, -48.40, 55.85)
CIE-LCHlch(61.22, 73.90, 130.92°)
OKLaboklab(64.96% -0.1343 0.1239)
OKLCHoklch(64.96% 0.183 137.3)
XYZxyz(17.5002, 29.5010, 6.2851)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A722 #7822A7
analogous
#94A722 #51A722 #22A736
triadic
#51A722 #2251A7 #A72251
tetradic
#51A722 #2294A7 #7822A7 #A73622
square
#51A722 #2294A7 #7822A7 #A73622
split-complementary
#51A722 #3622A7 #A72294
monochromatic
#20410D #387418 #51A722 #6BD531 #90DF64

Accessibility & contrast

On white

3.04
#51A722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#51A722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #51A722
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A722#FFFFFF#000000##000000
##51A7221.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A29131
Tritanopia (blue-blind)
#4BA18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #51a722;
/* rgb */ color: rgb(81, 167, 34);
/* oklch */ color: oklch(65.0% 0.183 137.3);
Tailwind
colors: {
  custom: {
    50: '#8bc269',
    500: '#51a722',
    950: '#000000',
  },
}
SCSS
$custom: #51a722;
$custom-light: #8bc269;
$custom-dark: #000000;
JSON
{
  "hex": "#51a722",
  "rgb": {
    "r": 81,
    "g": 167,
    "b": 34
  },
  "hsl": {
    "h": 98.797,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64965,
    "c": 0.18276,
    "h": 137.3
  },
  "luminance": 0.29502
}

Semantic roles & 50–950 ramp

primary
#51A722
secondary
#A160C5
accent
#3FE9AD
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #51A722

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

Preview Lab → · Contrast checker → · Palette generator →

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