#51AC20#51AC20

#51AC20 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.3% C 0.190 H 137.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#51AC20
RGBrgb(81, 172, 32)
HSLhsl(99, 69%, 40%)
HSVhsv(99, 81%, 67%)
CMYKcmyk(52.9%, 0%, 81.4%, 32.5%)
CIE-LABlab(62.81, -50.42, 57.92)
CIE-LCHlch(62.81, 76.79, 131.04°)
OKLaboklab(66.27% -0.1398 0.128)
OKLCHoklch(66.27% 0.19 137.5)
XYZxyz(18.4060, 31.3573, 6.4489)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC20 #7B20AC
analogous
#97AC20 #51AC20 #20AC35
triadic
#51AC20 #2051AC #AC2051
tetradic
#51AC20 #2097AC #7B20AC #AC3520
square
#51AC20 #2097AC #7B20AC #AC3520
split-complementary
#51AC20 #3520AC #AC2097
monochromatic
#20450D #397816 #51AC20 #6BD931 #90E264

Accessibility & contrast

On white

2.89
#51AC20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#51AC20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC20
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC20#FFFFFF#000000##000000
##51AC201.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#4AA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac20;
/* rgb */ color: rgb(81, 172, 32);
/* oklch */ color: oklch(66.3% 0.190 137.5);
Tailwind
colors: {
  custom: {
    50: '#8bc568',
    500: '#51ac20',
    950: '#000000',
  },
}
SCSS
$custom: #51ac20;
$custom-light: #8bc568;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac20",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 32
  },
  "hsl": {
    "h": 99,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.6627,
    "c": 0.18957,
    "h": 137.5
  },
  "luminance": 0.31359
}

Semantic roles & 50–950 ramp

primary
#51AC20
secondary
#A360C7
accent
#3CEBAE
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC20

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

Preview Lab → · Contrast checker → · Palette generator →

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