#51A922#51A922

#51A922 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 65.5% C 0.185 H 137.4°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#51A922
RGBrgb(81, 169, 34)
HSLhsl(99, 67%, 40%)
HSVhsv(99, 80%, 66%)
CMYKcmyk(52.1%, 0%, 79.9%, 33.7%)
CIE-LABlab(61.86, -49.17, 56.45)
CIE-LCHlch(61.86, 74.86, 131.06°)
OKLaboklab(65.49% -0.1364 0.1252)
OKLCHoklch(65.49% 0.185 137.4)
XYZxyz(17.8695, 30.2394, 6.4082)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51A922 #7A22A9
analogous
#95A922 #51A922 #22A937
triadic
#51A922 #2251A9 #A92251
tetradic
#51A922 #2295A9 #7A22A9 #A93722
square
#51A922 #2295A9 #7A22A9 #A93722
split-complementary
#51A922 #3722A9 #A92295
monochromatic
#20430D #397618 #51A922 #6BD632 #90E065

Accessibility & contrast

On white

2.98
#51A922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#51A922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51A922
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51A922#FFFFFF#000000##000000
##51A9221.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A39332
Tritanopia (blue-blind)
#4BA390
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #51a922;
/* rgb */ color: rgb(81, 169, 34);
/* oklch */ color: oklch(65.5% 0.185 137.4);
Tailwind
colors: {
  custom: {
    50: '#8bc369',
    500: '#51a922',
    950: '#000000',
  },
}
SCSS
$custom: #51a922;
$custom-light: #8bc369;
$custom-dark: #000000;
JSON
{
  "hex": "#51a922",
  "rgb": {
    "r": 81,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 99.111,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65492,
    "c": 0.18513,
    "h": 137.4
  },
  "luminance": 0.30241
}

Semantic roles & 50–950 ramp

primary
#51A922
secondary
#A361C5
accent
#3EE9AE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51A922

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

Preview Lab → · Contrast checker → · Palette generator →

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