#81AC28#81AC28

#81AC28 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.9% C 0.161 H 126.5°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#81AC28
RGBrgb(129, 172, 40)
HSLhsl(80, 62%, 42%)
HSVhsv(80, 77%, 67%)
CMYKcmyk(25%, 0%, 76.7%, 32.5%)
CIE-LABlab(65.22, -33.23, 58.57)
CIE-LCHlch(65.22, 67.34, 119.57°)
OKLaboklab(68.89% -0.096 0.1296)
OKLCHoklch(68.89% 0.161 126.5)
XYZxyz(24.1889, 34.3250, 7.3581)
Luminance0.3432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC28 #5328AC
analogous
#AC9528 #81AC28 #3FAC28
triadic
#81AC28 #2881AC #AC2881
tetradic
#81AC28 #28AC95 #5328AC #AC283F
square
#81AC28 #28AC95 #5328AC #AC283F
split-complementary
#81AC28 #283FAC #9528AC
monochromatic
#374911 #5C7A1C #81AC28 #A2D23F #BADE71

Accessibility & contrast

On white

2.67
#81AC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#81AC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AC28
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AC28#FFFFFF#000000##000000
##81AC281.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A005
Deuteranopia (green-blind)
#AF9E35
Tritanopia (blue-blind)
#86A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ac28;
/* rgb */ color: rgb(129, 172, 40);
/* oklch */ color: oklch(68.9% 0.161 126.5);
Tailwind
colors: {
  custom: {
    50: '#aac56d',
    500: '#81ac28',
    950: '#000000',
  },
}
SCSS
$custom: #81ac28;
$custom-light: #aac56d;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac28",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 79.545,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.68892,
    "c": 0.16127,
    "h": 126.5
  },
  "luminance": 0.34325
}

Semantic roles & 50–950 ramp

primary
#81AC28
secondary
#886BC5
accent
#42E578
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #81AC28

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

Preview Lab → · Contrast checker → · Palette generator →

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