#81AB2D#81AB2D

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

Color values

HEX#81AB2D
RGBrgb(129, 171, 45)
HSLhsl(80, 58%, 42%)
HSVhsv(80, 74%, 67%)
CMYKcmyk(24.6%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.95, -32.49, 56.60)
CIE-LCHlch(64.95, 65.26, 119.86°)
OKLaboklab(68.68% -0.0936 0.1263)
OKLCHoklch(68.68% 0.157 126.5)
XYZxyz(24.0899, 33.9820, 7.7721)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AB2D #572DAB
analogous
#AB962D #81AB2D #42AB2D
triadic
#81AB2D #2D81AB #AB2D81
tetradic
#81AB2D #2DAB96 #572DAB #AB2D42
square
#81AB2D #2DAB96 #572DAB #AB2D42
split-complementary
#81AB2D #2D42AB #962DAB
monochromatic
#384A14 #5C7B20 #81AB2D #A1CE47 #BADB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AB2D#FFFFFF#000000##000000
##81AB2D1.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)
#B49F14
Deuteranopia (green-blind)
#AE9D39
Tritanopia (blue-blind)
#86A393
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #81ab2d;
/* rgb */ color: rgb(129, 171, 45);
/* oklch */ color: oklch(68.7% 0.157 126.5);
Tailwind
colors: {
  custom: {
    50: '#a9c46f',
    500: '#81ab2d',
    950: '#000000',
  },
}
SCSS
$custom: #81ab2d;
$custom-light: #a9c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#81ab2d",
  "rgb": {
    "r": 129,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 80,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68681,
    "c": 0.15716,
    "h": 126.5
  },
  "luminance": 0.33982
}

Semantic roles & 50–950 ramp

primary
#81AB2D
secondary
#8C71C3
accent
#46E27A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #81AB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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