#81AD31#81AD31

#81AD31 is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 69.2% C 0.157 H 127.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#81AD31
RGBrgb(129, 173, 49)
HSLhsl(81, 56%, 44%)
HSVhsv(81, 72%, 68%)
CMYKcmyk(25.4%, 0%, 71.7%, 32.2%)
CIE-LABlab(65.57, -33.18, 55.76)
CIE-LCHlch(65.57, 64.89, 120.75°)
OKLaboklab(69.2% -0.0951 0.1252)
OKLCHoklch(69.2% 0.157 127.2)
XYZxyz(24.5513, 34.7755, 8.3240)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AD31 #5D31AD
analogous
#AD9B31 #81AD31 #43AD31
triadic
#81AD31 #3181AD #AD3181
tetradic
#81AD31 #31AD9B #5D31AD #AD3143
square
#81AD31 #31AD9B #5D31AD #AD3143
split-complementary
#81AD31 #3143AD #9B31AD
monochromatic
#3A4E16 #5D7D23 #81AD31 #A0CD4E #BADA7E

Accessibility & contrast

On white

2.64
#81AD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#81AD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AD31
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AD31#FFFFFF#000000##000000
##81AD311.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A11C
Deuteranopia (green-blind)
#B09E3C
Tritanopia (blue-blind)
#86A595
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #81ad31;
/* rgb */ color: rgb(129, 173, 49);
/* oklch */ color: oklch(69.2% 0.157 127.2);
Tailwind
colors: {
  custom: {
    50: '#a9c571',
    500: '#81ad31',
    950: '#000000',
  },
}
SCSS
$custom: #81ad31;
$custom-light: #a9c571;
$custom-dark: #000000;
JSON
{
  "hex": "#81ad31",
  "rgb": {
    "r": 129,
    "g": 173,
    "b": 49
  },
  "hsl": {
    "h": 81.29,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.69196,
    "c": 0.15719,
    "h": 127.2
  },
  "luminance": 0.34776
}

Semantic roles & 50–950 ramp

primary
#81AD31
secondary
#9277C3
accent
#49DF7E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AD31

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

Preview Lab → · Contrast checker → · Palette generator →

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