#51AE20#51AE20

#51AE20 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 66.8% C 0.192 H 137.7°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#51AE20
RGBrgb(81, 174, 32)
HSLhsl(99, 69%, 40%)
HSVhsv(99, 82%, 68%)
CMYKcmyk(53.4%, 0%, 81.6%, 31.8%)
CIE-LABlab(63.45, -51.17, 58.50)
CIE-LCHlch(63.45, 77.72, 131.17°)
OKLaboklab(66.8% -0.1419 0.1292)
OKLCHoklch(66.8% 0.192 137.7)
XYZxyz(18.7895, 32.1243, 6.5767)
Luminance0.3213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AE20 #7D20AE
analogous
#98AE20 #51AE20 #20AE36
triadic
#51AE20 #2051AE #AE2051
tetradic
#51AE20 #2098AE #7D20AE #AE3620
square
#51AE20 #2098AE #7D20AE #AE3620
split-complementary
#51AE20 #3620AE #AE2098
monochromatic
#21470D #397A16 #51AE20 #6CD932 #91E366

Accessibility & contrast

On white

2.83
#51AE20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#51AE20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AE20
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AE20#FFFFFF#000000##000000
##51AE201.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49E00
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#4AA894
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #51ae20;
/* rgb */ color: rgb(81, 174, 32);
/* oklch */ color: oklch(66.8% 0.192 137.7);
Tailwind
colors: {
  custom: {
    50: '#8cc769',
    500: '#51ae20',
    950: '#000000',
  },
}
SCSS
$custom: #51ae20;
$custom-light: #8cc769;
$custom-dark: #000000;
JSON
{
  "hex": "#51ae20",
  "rgb": {
    "r": 81,
    "g": 174,
    "b": 32
  },
  "hsl": {
    "h": 99.296,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.19189,
    "h": 137.7
  },
  "luminance": 0.32126
}

Semantic roles & 50–950 ramp

primary
#51AE20
secondary
#A562C8
accent
#3CECAF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AE20

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

Preview Lab → · Contrast checker → · Palette generator →

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