#51AC22#51AC22

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

Color values

HEX#51AC22
RGBrgb(81, 172, 34)
HSLhsl(100, 67%, 40%)
HSVhsv(100, 80%, 67%)
CMYKcmyk(52.9%, 0%, 80.2%, 32.5%)
CIE-LABlab(62.82, -50.31, 57.34)
CIE-LCHlch(62.82, 76.28, 131.26°)
OKLaboklab(66.28% -0.1394 0.1271)
OKLCHoklch(66.28% 0.189 137.7)
XYZxyz(18.4340, 31.3685, 6.5964)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC22 #7D22AC
analogous
#96AC22 #51AC22 #22AC38
triadic
#51AC22 #2251AC #AC2251
tetradic
#51AC22 #2296AC #7D22AC #AC3822
square
#51AC22 #2296AC #7D22AC #AC3822
split-complementary
#51AC22 #3822AC #AC2296
monochromatic
#21460E #397918 #51AC22 #6CD734 #91E167

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##51AC22#FFFFFF#000000##000000
##51AC221.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: #51ac22;
/* rgb */ color: rgb(81, 172, 34);
/* oklch */ color: oklch(66.3% 0.189 137.7);
Tailwind
colors: {
  custom: {
    50: '#8bc569',
    500: '#51ac22',
    950: '#000000',
  },
}
SCSS
$custom: #51ac22;
$custom-light: #8bc569;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac22",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 34
  },
  "hsl": {
    "h": 99.565,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66281,
    "c": 0.18867,
    "h": 137.7
  },
  "luminance": 0.3137
}

Semantic roles & 50–950 ramp

primary
#51AC22
secondary
#A563C7
accent
#3EEAAF
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC22

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

Preview Lab → · Contrast checker → · Palette generator →

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