#81AB2F#81AB2F

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

Color values

HEX#81AB2F
RGBrgb(129, 171, 47)
HSLhsl(80, 57%, 43%)
HSVhsv(80, 73%, 67%)
CMYKcmyk(24.6%, 0%, 72.5%, 32.9%)
CIE-LABlab(64.96, -32.37, 55.89)
CIE-LCHlch(64.96, 64.59, 120.08°)
OKLaboklab(68.69% -0.0931 0.1251)
OKLCHoklch(68.69% 0.156 126.6)
XYZxyz(24.1293, 33.9978, 7.9797)
Luminance0.3400 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AB2F #592FAB
analogous
#AB972F #81AB2F #43AB2F
triadic
#81AB2F #2F81AB #AB2F81
tetradic
#81AB2F #2FAB97 #592FAB #AB2F43
square
#81AB2F #2FAB97 #592FAB #AB2F43
split-complementary
#81AB2F #2F43AB #972FAB
monochromatic
#394B15 #5D7B22 #81AB2F #A1CD4A #BADA7A

Accessibility & contrast

On white

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

On black

7.80
#81AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AB2F
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AB2F#FFFFFF#000000##000000
##81AB2F1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81ab2f;
/* rgb */ color: rgb(129, 171, 47);
/* oklch */ color: oklch(68.7% 0.156 126.6);
Tailwind
colors: {
  custom: {
    50: '#a9c470',
    500: '#81ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #81ab2f;
$custom-light: #a9c470;
$custom-dark: #000000;
JSON
{
  "hex": "#81ab2f",
  "rgb": {
    "r": 129,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 80.323,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68695,
    "c": 0.15593,
    "h": 126.6
  },
  "luminance": 0.33998
}

Semantic roles & 50–950 ramp

primary
#81AB2F
secondary
#8E73C3
accent
#48E07B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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