#81AF30#81AF30

#81AF30 is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.7% C 0.160 H 127.6°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#81AF30
RGBrgb(129, 175, 48)
HSLhsl(82, 57%, 44%)
HSVhsv(82, 73%, 69%)
CMYKcmyk(26.3%, 0%, 72.6%, 31.4%)
CIE-LABlab(66.17, -34.16, 56.72)
CIE-LCHlch(66.17, 66.21, 121.06°)
OKLaboklab(69.68% -0.0979 0.127)
OKLCHoklch(69.68% 0.16 127.6)
XYZxyz(24.9168, 35.5399, 8.3429)
Luminance0.3554 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF30 #5E30AF
analogous
#AF9D30 #81AF30 #41AF30
triadic
#81AF30 #3081AF #AF3081
tetradic
#81AF30 #30AF9D #5E30AF #AF3041
square
#81AF30 #30AF9D #5E30AF #AF3041
split-complementary
#81AF30 #3041AF #9D30AF
monochromatic
#3A4F16 #5E7F23 #81AF30 #A0CE4E #BADC7E

Accessibility & contrast

On white

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

On black

8.11
#81AF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AF30
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AF30#FFFFFF#000000##000000
##81AF301.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81af30;
/* rgb */ color: rgb(129, 175, 48);
/* oklch */ color: oklch(69.7% 0.160 127.6);
Tailwind
colors: {
  custom: {
    50: '#a9c771',
    500: '#81af30',
    950: '#000000',
  },
}
SCSS
$custom: #81af30;
$custom-light: #a9c771;
$custom-dark: #000000;
JSON
{
  "hex": "#81af30",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 81.732,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69676,
    "c": 0.16035,
    "h": 127.6
  },
  "luminance": 0.3554
}

Semantic roles & 50–950 ramp

primary
#81AF30
secondary
#9376C4
accent
#48E07F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #81AF30

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

Preview Lab → · Contrast checker → · Palette generator →

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