#81AF22#81AF22

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

Color values

HEX#81AF22
RGBrgb(129, 175, 34)
HSLhsl(80, 67%, 41%)
HSVhsv(80, 81%, 69%)
CMYKcmyk(26.3%, 0%, 80.6%, 31.4%)
CIE-LABlab(66.09, -34.89, 61.21)
CIE-LCHlch(66.09, 70.46, 119.68°)
OKLaboklab(69.59% -0.1009 0.1342)
OKLCHoklch(69.59% 0.168 126.9)
XYZxyz(24.6721, 35.4421, 7.0542)
Luminance0.3544 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF22 #5022AF
analogous
#AF9622 #81AF22 #3BAF22
triadic
#81AF22 #2281AF #AF2281
tetradic
#81AF22 #22AF96 #5022AF #AF223B
square
#81AF22 #22AF96 #5022AF #AF223B
split-complementary
#81AF22 #223BAF #9622AF
monochromatic
#35490E #5B7C18 #81AF22 #A3D836 #BBE269

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AF22#FFFFFF#000000##000000
##81AF221.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)
#B8A300
Deuteranopia (green-blind)
#B2A032
Tritanopia (blue-blind)
#86A795
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af22;
/* rgb */ color: rgb(129, 175, 34);
/* oklch */ color: oklch(69.6% 0.168 126.9);
Tailwind
colors: {
  custom: {
    50: '#aac76a',
    500: '#81af22',
    950: '#000000',
  },
}
SCSS
$custom: #81af22;
$custom-light: #aac76a;
$custom-dark: #000000;
JSON
{
  "hex": "#81af22",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 79.574,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.6959,
    "c": 0.16791,
    "h": 126.9
  },
  "luminance": 0.35443
}

Semantic roles & 50–950 ramp

primary
#81AF22
secondary
#8565C8
accent
#3DEA76
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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