#81AF25#81AF25

#81AF25 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#81AF25
RGBrgb(129, 175, 37)
HSLhsl(80, 65%, 42%)
HSVhsv(80, 79%, 69%)
CMYKcmyk(26.3%, 0%, 78.9%, 31.4%)
CIE-LABlab(66.11, -34.76, 60.34)
CIE-LCHlch(66.11, 69.63, 119.94°)
OKLaboklab(69.61% -0.1003 0.1329)
OKLCHoklch(69.61% 0.166 127.1)
XYZxyz(24.7173, 35.4601, 7.2922)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AF25 #5325AF
analogous
#AF9825 #81AF25 #3CAF25
triadic
#81AF25 #2581AF #AF2581
tetradic
#81AF25 #25AF98 #5325AF #AF253C
square
#81AF25 #25AF98 #5325AF #AF253C
split-complementary
#81AF25 #253CAF #9825AF
monochromatic
#374A10 #5C7C1A #81AF25 #A2D63C #BAE06E

Accessibility & contrast

On white

2.60
#81AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##81AF25#FFFFFF#000000##000000
##81AF251.002.608.098.09
#FFFFFF2.601.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: #81af25;
/* rgb */ color: rgb(129, 175, 37);
/* oklch */ color: oklch(69.6% 0.166 127.1);
Tailwind
colors: {
  custom: {
    50: '#aac76c',
    500: '#81af25',
    950: '#000000',
  },
}
SCSS
$custom: #81af25;
$custom-light: #aac76c;
$custom-dark: #000000;
JSON
{
  "hex": "#81af25",
  "rgb": {
    "r": 129,
    "g": 175,
    "b": 37
  },
  "hsl": {
    "h": 80,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69606,
    "c": 0.16649,
    "h": 127.1
  },
  "luminance": 0.35461
}

Semantic roles & 50–950 ramp

primary
#81AF25
secondary
#8869C7
accent
#40E878
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AF25

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

Preview Lab → · Contrast checker → · Palette generator →

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