#81AB2A#81AB2A

#81AB2A is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.7% C 0.159 H 126.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#81AB2A
RGBrgb(129, 171, 42)
HSLhsl(80, 61%, 42%)
HSVhsv(80, 75%, 67%)
CMYKcmyk(24.6%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.93, -32.66, 57.63)
CIE-LCHlch(64.93, 66.24, 119.54°)
OKLaboklab(68.66% -0.0943 0.128)
OKLCHoklch(68.66% 0.159 126.4)
XYZxyz(24.0342, 33.9597, 7.4787)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AB2A #542AAB
analogous
#AB952A #81AB2A #41AB2A
triadic
#81AB2A #2A81AB #AB2A81
tetradic
#81AB2A #2AAB95 #542AAB #AB2A41
square
#81AB2A #2AAB95 #542AAB #AB2A41
split-complementary
#81AB2A #2A41AB #952AAB
monochromatic
#374912 #5C7A1E #81AB2A #A2D142 #BADD73

Accessibility & contrast

On white

2.70
#81AB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#81AB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AB2A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AB2A#FFFFFF#000000##000000
##81AB2A1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0D
Deuteranopia (green-blind)
#AE9D36
Tritanopia (blue-blind)
#86A393
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ab2a;
/* rgb */ color: rgb(129, 171, 42);
/* oklch */ color: oklch(68.7% 0.159 126.4);
Tailwind
colors: {
  custom: {
    50: '#a9c46d',
    500: '#81ab2a',
    950: '#000000',
  },
}
SCSS
$custom: #81ab2a;
$custom-light: #a9c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#81ab2a",
  "rgb": {
    "r": 129,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 79.535,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68661,
    "c": 0.15893,
    "h": 126.4
  },
  "luminance": 0.3396
}

Semantic roles & 50–950 ramp

primary
#81AB2A
secondary
#896DC4
accent
#44E478
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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