#81A221#81A221

#81A221 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.153 H 123.6°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#81A221
RGBrgb(129, 162, 33)
HSLhsl(75, 66%, 38%)
HSVhsv(75, 80%, 64%)
CMYKcmyk(20.4%, 0%, 79.6%, 36.5%)
CIE-LABlab(62.18, -28.85, 57.95)
CIE-LCHlch(62.18, 64.74, 116.47°)
OKLaboklab(66.42% -0.0846 0.1272)
OKLCHoklch(66.42% 0.153 123.6)
XYZxyz(22.2484, 30.6174, 6.1762)
Luminance0.3062 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81A221 #4221A2
analogous
#A28221 #81A221 #40A221
triadic
#81A221 #2181A2 #A22181
tetradic
#81A221 #21A282 #4221A2 #A22140
square
#81A221 #21A282 #4221A2 #A22140
split-complementary
#81A221 #2140A2 #8221A2
monochromatic
#303C0C #596F17 #81A221 #A9D42C #BEDE5F

Accessibility & contrast

On white

2.95
#81A221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#81A221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #81A221
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81A221#FFFFFF#000000##000000
##81A2211.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A7962E
Tritanopia (blue-blind)
#889A8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #81a221;
/* rgb */ color: rgb(129, 162, 33);
/* oklch */ color: oklch(66.4% 0.153 123.6);
Tailwind
colors: {
  custom: {
    50: '#a9bd68',
    500: '#81a221',
    950: '#000000',
  },
}
SCSS
$custom: #81a221;
$custom-light: #a9bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#81a221",
  "rgb": {
    "r": 129,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 75.349,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6642,
    "c": 0.1527,
    "h": 123.6
  },
  "luminance": 0.30618
}

Semantic roles & 50–950 ramp

primary
#81A221
secondary
#765CC3
accent
#3FE96A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #81A221

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

Preview Lab → · Contrast checker → · Palette generator →

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