#81AC2B#81AC2B

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

Color values

HEX#81AC2B
RGBrgb(129, 172, 43)
HSLhsl(80, 60%, 42%)
HSVhsv(80, 75%, 67%)
CMYKcmyk(25%, 0%, 75%, 32.5%)
CIE-LABlab(65.24, -33.07, 57.58)
CIE-LCHlch(65.24, 66.40, 119.87°)
OKLaboklab(68.91% -0.0953 0.128)
OKLCHoklch(68.91% 0.16 126.7)
XYZxyz(24.2419, 34.3462, 7.6373)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AC2B #562BAC
analogous
#AC972B #81AC2B #41AC2B
triadic
#81AC2B #2B81AC #AC2B81
tetradic
#81AC2B #2BAC97 #562BAC #AC2B41
square
#81AC2B #2BAC97 #562BAC #AC2B41
split-complementary
#81AC2B #2B41AC #972BAC
monochromatic
#384A13 #5C7B1F #81AC2B #A1D044 #BADC75

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AC2B#FFFFFF#000000##000000
##81AC2B1.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)
#B5A00F
Deuteranopia (green-blind)
#AF9E37
Tritanopia (blue-blind)
#86A493
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ac2b;
/* rgb */ color: rgb(129, 172, 43);
/* oklch */ color: oklch(68.9% 0.160 126.7);
Tailwind
colors: {
  custom: {
    50: '#a9c56e',
    500: '#81ac2b',
    950: '#000000',
  },
}
SCSS
$custom: #81ac2b;
$custom-light: #a9c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#81ac2b",
  "rgb": {
    "r": 129,
    "g": 172,
    "b": 43
  },
  "hsl": {
    "h": 80,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68911,
    "c": 0.1596,
    "h": 126.7
  },
  "luminance": 0.34347
}

Semantic roles & 50–950 ramp

primary
#81AC2B
secondary
#8B6FC4
accent
#45E379
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AC2B

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

Preview Lab → · Contrast checker → · Palette generator →

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