#81AB2B#81AB2B

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

Color values

HEX#81AB2B
RGBrgb(129, 171, 43)
HSLhsl(80, 60%, 42%)
HSVhsv(80, 75%, 67%)
CMYKcmyk(24.6%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.94, -32.60, 57.29)
CIE-LCHlch(64.94, 65.92, 119.64°)
OKLaboklab(68.67% -0.094 0.1274)
OKLCHoklch(68.67% 0.158 126.4)
XYZxyz(24.0523, 33.9670, 7.5741)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AB2B #552BAB
analogous
#AB952B #81AB2B #41AB2B
triadic
#81AB2B #2B81AB #AB2B81
tetradic
#81AB2B #2BAB95 #552BAB #AB2B41
square
#81AB2B #2BAB95 #552BAB #AB2B41
split-complementary
#81AB2B #2B41AB #952BAB
monochromatic
#374912 #5C7A1F #81AB2B #A2D043 #BADC74

Accessibility & contrast

On white

2.69
#81AB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AB2B#FFFFFF#000000##000000
##81AB2B1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81ab2b;
/* rgb */ color: rgb(129, 171, 43);
/* oklch */ color: oklch(68.7% 0.158 126.4);
Tailwind
colors: {
  custom: {
    50: '#a9c46e',
    500: '#81ab2b',
    950: '#000000',
  },
}
SCSS
$custom: #81ab2b;
$custom-light: #a9c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#81ab2b",
  "rgb": {
    "r": 129,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 79.688,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68667,
    "c": 0.15835,
    "h": 126.4
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #81AB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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