#81AC2F#81AC2F

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

Color values

HEX#81AC2F
RGBrgb(129, 172, 47)
HSLhsl(81, 57%, 43%)
HSVhsv(81, 73%, 67%)
CMYKcmyk(25%, 0%, 72.7%, 32.5%)
CIE-LABlab(65.26, -32.84, 56.19)
CIE-LCHlch(65.26, 65.08, 120.30°)
OKLaboklab(68.94% -0.0943 0.1257)
OKLCHoklch(68.94% 0.157 126.9)
XYZxyz(24.3189, 34.3770, 8.0429)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC2F #5A2FAC
analogous
#AC982F #81AC2F #42AC2F
triadic
#81AC2F #2F81AC #AC2F81
tetradic
#81AC2F #2FAC98 #5A2FAC #AC2F42
square
#81AC2F #2FAC98 #5A2FAC #AC2F42
split-complementary
#81AC2F #2F42AC #982FAC
monochromatic
#394C15 #5D7C22 #81AC2F #A1CE4B #BADB7B

Accessibility & contrast

On white

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

On black

7.88
#81AC2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AC2F
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AC2F#FFFFFF#000000##000000
##81AC2F1.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81ac2f;
/* rgb */ color: rgb(129, 172, 47);
/* oklch */ color: oklch(68.9% 0.157 126.9);
Tailwind
colors: {
  custom: {
    50: '#a9c570',
    500: '#81ac2f',
    950: '#000000',
  },
}
SCSS
$custom: #81ac2f;
$custom-light: #a9c570;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac2f",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 47
  },
  "hsl": {
    "h": 80.64,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68938,
    "c": 0.15719,
    "h": 126.9
  },
  "luminance": 0.34377
}

Semantic roles & 50–950 ramp

primary
#81AC2F
secondary
#8F74C3
accent
#47E07C
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AC2F

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

Preview Lab → · Contrast checker → · Palette generator →

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