#81AC2D#81AC2D

#81AC2D is a light, vivid yellow-green. Relative luminance 0.344; OKLCH L 68.9% C 0.158 H 126.8°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#81AC2D
RGBrgb(129, 172, 45)
HSLhsl(80, 59%, 43%)
HSVhsv(80, 74%, 67%)
CMYKcmyk(25%, 0%, 73.8%, 32.5%)
CIE-LABlab(65.25, -32.96, 56.90)
CIE-LCHlch(65.25, 65.75, 120.08°)
OKLaboklab(68.92% -0.0948 0.1269)
OKLCHoklch(68.92% 0.158 126.8)
XYZxyz(24.2795, 34.3612, 7.8353)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC2D #582DAC
analogous
#AC972D #81AC2D #42AC2D
triadic
#81AC2D #2D81AC #AC2D81
tetradic
#81AC2D #2DAC97 #582DAC #AC2D42
square
#81AC2D #2DAC97 #582DAC #AC2D42
split-complementary
#81AC2D #2D42AC #972DAC
monochromatic
#384B14 #5D7B20 #81AC2D #A1CF47 #BADC78

Accessibility & contrast

On white

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

On black

7.87
#81AC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AC2D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AC2D#FFFFFF#000000##000000
##81AC2D1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A014
Deuteranopia (green-blind)
#AF9E39
Tritanopia (blue-blind)
#86A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ac2d;
/* rgb */ color: rgb(129, 172, 45);
/* oklch */ color: oklch(68.9% 0.158 126.8);
Tailwind
colors: {
  custom: {
    50: '#a9c56f',
    500: '#81ac2d',
    950: '#000000',
  },
}
SCSS
$custom: #81ac2d;
$custom-light: #a9c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac2d",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 45
  },
  "hsl": {
    "h": 80.315,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68924,
    "c": 0.15842,
    "h": 126.8
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#81AC2D
secondary
#8D71C4
accent
#46E27B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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