#81AF23#81AF23

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

Color values

HEX#81AF23
RGBrgb(129, 175, 35)
HSLhsl(80, 67%, 41%)
HSVhsv(80, 80%, 69%)
CMYKcmyk(26.3%, 0%, 80%, 31.4%)
CIE-LABlab(66.10, -34.85, 60.93)
CIE-LCHlch(66.10, 70.19, 119.77°)
OKLaboklab(69.6% -0.1007 0.1338)
OKLCHoklch(69.6% 0.167 127)
XYZxyz(24.6867, 35.4479, 7.1313)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF23 #5123AF
analogous
#AF9723 #81AF23 #3BAF23
triadic
#81AF23 #2381AF #AF2381
tetradic
#81AF23 #23AF97 #5123AF #AF233B
square
#81AF23 #23AF97 #5123AF #AF233B
split-complementary
#81AF23 #233BAF #9723AF
monochromatic
#36490F #5B7C19 #81AF23 #A3D738 #BAE16B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AF23#FFFFFF#000000##000000
##81AF231.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: #81af23;
/* rgb */ color: rgb(129, 175, 35);
/* oklch */ color: oklch(69.6% 0.167 127.0);
Tailwind
colors: {
  custom: {
    50: '#aac76b',
    500: '#81af23',
    950: '#000000',
  },
}
SCSS
$custom: #81af23;
$custom-light: #aac76b;
$custom-dark: #000000;
JSON
{
  "hex": "#81af23",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 79.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.69595,
    "c": 0.16745,
    "h": 127
  },
  "luminance": 0.35448
}

Semantic roles & 50–950 ramp

primary
#81AF23
secondary
#8666C7
accent
#3EEA77
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AF23

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

Preview Lab → · Contrast checker → · Palette generator →

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