#81AE21#81AE21

#81AE21 is a light, vivid yellow-green. Relative luminance 0.350; OKLCH L 69.3% C 0.167 H 126.7°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#81AE21
RGBrgb(129, 174, 33)
HSLhsl(79, 68%, 41%)
HSVhsv(79, 81%, 68%)
CMYKcmyk(25.9%, 0%, 81%, 31.8%)
CIE-LABlab(65.79, -34.47, 61.22)
CIE-LCHlch(65.79, 70.26, 119.39°)
OKLaboklab(69.34% -0.0998 0.1341)
OKLCHoklch(69.34% 0.167 126.7)
XYZxyz(24.4640, 35.0486, 6.9147)
Luminance0.3505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81AE21 #4E21AE
analogous
#AE9421 #81AE21 #3AAE21
triadic
#81AE21 #2181AE #AE2181
tetradic
#81AE21 #21AE94 #4E21AE #AE213A
square
#81AE21 #21AE94 #4E21AE #AE213A
split-complementary
#81AE21 #213AAE #9421AE
monochromatic
#35470D #5B7B17 #81AE21 #A4D834 #BBE267

Accessibility & contrast

On white

2.62
#81AE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#81AE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81AE21
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81AE21#FFFFFF#000000##000000
##81AE211.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B19F31
Tritanopia (blue-blind)
#87A694
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #81ae21;
/* rgb */ color: rgb(129, 174, 33);
/* oklch */ color: oklch(69.3% 0.167 126.7);
Tailwind
colors: {
  custom: {
    50: '#aac66a',
    500: '#81ae21',
    950: '#000000',
  },
}
SCSS
$custom: #81ae21;
$custom-light: #aac66a;
$custom-dark: #000000;
JSON
{
  "hex": "#81ae21",
  "rgb": {
    "r": 129,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 79.149,
    "s": 68.116,
    "l": 40.588
  },
  "oklch": {
    "l": 0.69341,
    "c": 0.16716,
    "h": 126.7
  },
  "luminance": 0.35049
}

Semantic roles & 50–950 ramp

primary
#81AE21
secondary
#8363C8
accent
#3DEB74
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #81AE21

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

Preview Lab → · Contrast checker → · Palette generator →

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