#81AF28#81AF28

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

Color values

HEX#81AF28
RGBrgb(129, 175, 40)
HSLhsl(80, 63%, 42%)
HSVhsv(80, 77%, 69%)
CMYKcmyk(26.3%, 0%, 77.1%, 31.4%)
CIE-LABlab(66.12, -34.61, 59.42)
CIE-LCHlch(66.12, 68.76, 120.22°)
OKLaboklab(69.62% -0.0997 0.1314)
OKLCHoklch(69.62% 0.165 127.2)
XYZxyz(24.7663, 35.4798, 7.5505)
Luminance0.3548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF28 #5628AF
analogous
#AF9928 #81AF28 #3EAF28
triadic
#81AF28 #2881AF #AF2881
tetradic
#81AF28 #28AF99 #5628AF #AF283E
square
#81AF28 #28AF99 #5628AF #AF283E
split-complementary
#81AF28 #283EAF #9928AF
monochromatic
#384B11 #5C7D1D #81AF28 #A1D441 #BADF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AF28#FFFFFF#000000##000000
##81AF281.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)
#B8A303
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#86A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #81af28;
/* rgb */ color: rgb(129, 175, 40);
/* oklch */ color: oklch(69.6% 0.165 127.2);
Tailwind
colors: {
  custom: {
    50: '#aac76d',
    500: '#81af28',
    950: '#000000',
  },
}
SCSS
$custom: #81af28;
$custom-light: #aac76d;
$custom-dark: #000000;
JSON
{
  "hex": "#81af28",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 80.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69623,
    "c": 0.16496,
    "h": 127.2
  },
  "luminance": 0.3548
}

Semantic roles & 50–950 ramp

primary
#81AF28
secondary
#8B6DC6
accent
#42E67A
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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