#81AF26#81AF26

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

Color values

HEX#81AF26
RGBrgb(129, 175, 38)
HSLhsl(80, 64%, 42%)
HSVhsv(80, 78%, 69%)
CMYKcmyk(26.3%, 0%, 78.3%, 31.4%)
CIE-LABlab(66.11, -34.71, 60.04)
CIE-LCHlch(66.11, 69.35, 120.03°)
OKLaboklab(69.61% -0.1001 0.1324)
OKLCHoklch(69.61% 0.166 127.1)
XYZxyz(24.7332, 35.4665, 7.3760)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF26 #5426AF
analogous
#AF9926 #81AF26 #3DAF26
triadic
#81AF26 #2681AF #AF2681
tetradic
#81AF26 #26AF99 #5426AF #AF263D
square
#81AF26 #26AF99 #5426AF #AF263D
split-complementary
#81AF26 #263DAF #9926AF
monochromatic
#374A10 #5C7D1B #81AF26 #A2D53D #BAE070

Accessibility & contrast

On white

2.59
#81AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AF26#FFFFFF#000000##000000
##81AF261.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A300
Deuteranopia (green-blind)
#B2A034
Tritanopia (blue-blind)
#86A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af26;
/* rgb */ color: rgb(129, 175, 38);
/* oklch */ color: oklch(69.6% 0.166 127.1);
Tailwind
colors: {
  custom: {
    50: '#aac76c',
    500: '#81af26',
    950: '#000000',
  },
}
SCSS
$custom: #81af26;
$custom-light: #aac76c;
$custom-dark: #000000;
JSON
{
  "hex": "#81af26",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 80.146,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69612,
    "c": 0.16599,
    "h": 127.1
  },
  "luminance": 0.35467
}

Semantic roles & 50–950 ramp

primary
#81AF26
secondary
#896AC7
accent
#40E779
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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