#81AF29#81AF29

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

Color values

HEX#81AF29
RGBrgb(129, 175, 41)
HSLhsl(81, 62%, 42%)
HSVhsv(81, 77%, 69%)
CMYKcmyk(26.3%, 0%, 76.6%, 31.4%)
CIE-LABlab(66.13, -34.56, 59.10)
CIE-LCHlch(66.13, 68.46, 120.32°)
OKLaboklab(69.63% -0.0995 0.1309)
OKLCHoklch(69.63% 0.164 127.2)
XYZxyz(24.7835, 35.4867, 7.6413)
Luminance0.3549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF29 #5729AF
analogous
#AF9A29 #81AF29 #3EAF29
triadic
#81AF29 #2981AF #AF2981
tetradic
#81AF29 #29AF9A #5729AF #AF293E
square
#81AF29 #29AF9A #5729AF #AF293E
split-complementary
#81AF29 #293EAF #9A29AF
monochromatic
#384C12 #5C7D1D #81AF29 #A1D342 #BADE74

Accessibility & contrast

On white

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

On black

8.10
#81AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF29
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF29#FFFFFF#000000##000000
##81AF291.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81af29;
/* rgb */ color: rgb(129, 175, 41);
/* oklch */ color: oklch(69.6% 0.164 127.2);
Tailwind
colors: {
  custom: {
    50: '#aac76d',
    500: '#81af29',
    950: '#000000',
  },
}
SCSS
$custom: #81af29;
$custom-light: #aac76d;
$custom-dark: #000000;
JSON
{
  "hex": "#81af29",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 80.597,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.69629,
    "c": 0.16442,
    "h": 127.2
  },
  "luminance": 0.35487
}

Semantic roles & 50–950 ramp

primary
#81AF29
secondary
#8C6EC6
accent
#43E57A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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