#51AC21#51AC21

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

Color values

HEX#51AC21
RGBrgb(81, 172, 33)
HSLhsl(99, 68%, 40%)
HSVhsv(99, 81%, 67%)
CMYKcmyk(52.9%, 0%, 80.8%, 32.5%)
CIE-LABlab(62.81, -50.36, 57.63)
CIE-LCHlch(62.81, 76.54, 131.15°)
OKLaboklab(66.27% -0.1396 0.1275)
OKLCHoklch(66.27% 0.189 137.6)
XYZxyz(18.4198, 31.3628, 6.5215)
Luminance0.3136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC21 #7C21AC
analogous
#96AC21 #51AC21 #21AC37
triadic
#51AC21 #2151AC #AC2151
tetradic
#51AC21 #2196AC #7C21AC #AC3721
square
#51AC21 #2196AC #7C21AC #AC3721
split-complementary
#51AC21 #3721AC #AC2196
monochromatic
#21450D #397917 #51AC21 #6CD832 #91E266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AC21#FFFFFF#000000##000000
##51AC211.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)
#A69532
Tritanopia (blue-blind)
#4AA693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #51ac21;
/* rgb */ color: rgb(81, 172, 33);
/* oklch */ color: oklch(66.3% 0.189 137.6);
Tailwind
colors: {
  custom: {
    50: '#8bc569',
    500: '#51ac21',
    950: '#000000',
  },
}
SCSS
$custom: #51ac21;
$custom-light: #8bc569;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac21",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 33
  },
  "hsl": {
    "h": 99.281,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66275,
    "c": 0.18912,
    "h": 137.6
  },
  "luminance": 0.31364
}

Semantic roles & 50–950 ramp

primary
#51AC21
secondary
#A462C7
accent
#3DEBAF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC21

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

Preview Lab → · Contrast checker → · Palette generator →

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