#51AC28#51AC28

#51AC28 is a light, vivid green. Relative luminance 0.314; OKLCH L 66.3% C 0.186 H 138.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#51AC28
RGBrgb(81, 172, 40)
HSLhsl(101, 62%, 42%)
HSVhsv(101, 77%, 67%)
CMYKcmyk(52.9%, 0%, 76.7%, 32.5%)
CIE-LABlab(62.85, -49.95, 55.47)
CIE-LCHlch(62.85, 74.65, 132.00°)
OKLaboklab(66.32% -0.1381 0.124)
OKLCHoklch(66.32% 0.186 138.1)
XYZxyz(18.5282, 31.4062, 7.0927)
Luminance0.3141 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51AC28 #8328AC
analogous
#93AC28 #51AC28 #28AC41
triadic
#51AC28 #2851AC #AC2851
tetradic
#51AC28 #2893AC #8328AC #AC4128
square
#51AC28 #2893AC #8328AC #AC4128
split-complementary
#51AC28 #4128AC #AC2893
monochromatic
#224911 #3A7A1C #51AC28 #6DD23F #92DE71

Accessibility & contrast

On white

2.88
#51AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#51AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #51AC28
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51AC28#FFFFFF#000000##000000
##51AC281.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51ac28;
/* rgb */ color: rgb(81, 172, 40);
/* oklch */ color: oklch(66.3% 0.186 138.1);
Tailwind
colors: {
  custom: {
    50: '#8bc56c',
    500: '#51ac28',
    950: '#000000',
  },
}
SCSS
$custom: #51ac28;
$custom-light: #8bc56c;
$custom-dark: #000000;
JSON
{
  "hex": "#51ac28",
  "rgb": {
    "r": 81,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 101.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66317,
    "c": 0.18566,
    "h": 138.1
  },
  "luminance": 0.31408
}

Semantic roles & 50–950 ramp

primary
#51AC28
secondary
#A96BC5
accent
#42E5B3
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #51AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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