#81AF4D#81AF4D

#81AF4D is a light, vivid yellow-green. Relative luminance 0.359; OKLCH L 70.0% C 0.138 H 130.2°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#81AF4D
RGBrgb(129, 175, 77)
HSLhsl(88, 39%, 49%)
HSVhsv(88, 56%, 69%)
CMYKcmyk(26.3%, 0%, 56%, 31.4%)
CIE-LABlab(66.41, -31.82, 44.67)
CIE-LCHlch(66.41, 54.84, 125.46°)
OKLaboklab(69.96% -0.0889 0.1051)
OKLCHoklch(69.96% 0.138 130.2)
XYZxyz(25.7225, 35.8623, 12.5866)
Luminance0.3586 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF4D #7B4DAF
analogous
#AFAC4D #81AF4D #50AF4D
triadic
#81AF4D #4D81AF #AF4D81
tetradic
#81AF4D #4DAFAC #7B4DAF #AF4D50
square
#81AF4D #4DAFAC #7B4DAF #AF4D50
split-complementary
#81AF4D #4D50AF #AC4DAF
monochromatic
#425A28 #62853A #81AF4D #9FC376 #BDD6A1

Accessibility & contrast

On white

2.57
#81AF4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#81AF4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF4D
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF4D#FFFFFF#000000##000000
##81AF4D1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A443
Deuteranopia (green-blind)
#B0A054
Tritanopia (blue-blind)
#84A899
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af4d;
/* rgb */ color: rgb(129, 175, 77);
/* oklch */ color: oklch(70.0% 0.138 130.2);
Tailwind
colors: {
  custom: {
    50: '#a8c782',
    500: '#81af4d',
    950: '#000000',
  },
}
SCSS
$custom: #81af4d;
$custom-light: #a8c782;
$custom-dark: #000000;
JSON
{
  "hex": "#81af4d",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 77
  },
  "hsl": {
    "h": 88.163,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.69956,
    "c": 0.1377,
    "h": 130.2
  },
  "luminance": 0.35863
}

Semantic roles & 50–950 ramp

primary
#81AF4D
secondary
#AB95C3
accent
#59CF90
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #81AF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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