#81AF20#81AF20

#81AF20 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.169 H 126.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#81AF20
RGBrgb(129, 175, 32)
HSLhsl(79, 69%, 41%)
HSVhsv(79, 82%, 69%)
CMYKcmyk(26.3%, 0%, 81.7%, 31.4%)
CIE-LABlab(66.08, -34.97, 61.76)
CIE-LCHlch(66.08, 70.97, 119.52°)
OKLaboklab(69.58% -0.1013 0.1351)
OKLCHoklch(69.58% 0.169 126.9)
XYZxyz(24.6441, 35.4309, 6.9067)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF20 #4E20AF
analogous
#AF9520 #81AF20 #39AF20
triadic
#81AF20 #2081AF #AF2081
tetradic
#81AF20 #20AF95 #4E20AF #AF2039
square
#81AF20 #20AF95 #4E20AF #AF2039
split-complementary
#81AF20 #2039AF #9520AF
monochromatic
#35480D #5B7B17 #81AF20 #A4DA33 #BBE366

Accessibility & contrast

On white

2.60
#81AF20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#81AF20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF20
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF20#FFFFFF#000000##000000
##81AF201.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B2A030
Tritanopia (blue-blind)
#86A795
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af20;
/* rgb */ color: rgb(129, 175, 32);
/* oklch */ color: oklch(69.6% 0.169 126.9);
Tailwind
colors: {
  custom: {
    50: '#aac76a',
    500: '#81af20',
    950: '#000000',
  },
}
SCSS
$custom: #81af20;
$custom-light: #aac76a;
$custom-dark: #000000;
JSON
{
  "hex": "#81af20",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 32
  },
  "hsl": {
    "h": 79.301,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.1688,
    "h": 126.9
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

primary
#81AF20
secondary
#8362C8
accent
#3CEC75
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AF20

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

Preview Lab → · Contrast checker → · Palette generator →

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