#81AC2C#81AC2C

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

Color values

HEX#81AC2C
RGBrgb(129, 172, 44)
HSLhsl(80, 59%, 42%)
HSVhsv(80, 74%, 67%)
CMYKcmyk(25%, 0%, 74.4%, 32.5%)
CIE-LABlab(65.24, -33.01, 57.24)
CIE-LCHlch(65.24, 66.08, 119.97°)
OKLaboklab(68.92% -0.0951 0.1275)
OKLCHoklch(68.92% 0.159 126.7)
XYZxyz(24.2605, 34.3536, 7.7351)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC2C #572CAC
analogous
#AC972C #81AC2C #41AC2C
triadic
#81AC2C #2C81AC #AC2C81
tetradic
#81AC2C #2CAC97 #572CAC #AC2C41
square
#81AC2C #2CAC97 #572CAC #AC2C41
split-complementary
#81AC2C #2C41AC #972CAC
monochromatic
#384B13 #5C7B20 #81AC2C #A1D046 #BADC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AC2C#FFFFFF#000000##000000
##81AC2C1.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)
#B5A011
Deuteranopia (green-blind)
#AF9E38
Tritanopia (blue-blind)
#86A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ac2c;
/* rgb */ color: rgb(129, 172, 44);
/* oklch */ color: oklch(68.9% 0.159 126.7);
Tailwind
colors: {
  custom: {
    50: '#a9c56e',
    500: '#81ac2c',
    950: '#000000',
  },
}
SCSS
$custom: #81ac2c;
$custom-light: #a9c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac2c",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 44
  },
  "hsl": {
    "h": 80.156,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68917,
    "c": 0.15901,
    "h": 126.7
  },
  "luminance": 0.34354
}

Semantic roles & 50–950 ramp

primary
#81AC2C
secondary
#8C70C4
accent
#45E27A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AC2C

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

Preview Lab → · Contrast checker → · Palette generator →

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