#81971A#81971A

#81971A is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.143 H 119.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#81971A
RGBrgb(129, 151, 26)
HSLhsl(71, 71%, 35%)
HSVhsv(71, 83%, 59%)
CMYKcmyk(14.6%, 0%, 82.8%, 40.8%)
CIE-LABlab(58.86, -23.76, 57.00)
CIE-LCHlch(58.86, 61.75, 112.63°)
OKLaboklab(63.72% -0.0711 0.1239)
OKLCHoklch(63.72% 0.143 119.9)
XYZxyz(20.3068, 26.8750, 5.0947)
Luminance0.2687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81971A #301A97
analogous
#976F1A #81971A #43971A
triadic
#81971A #1A8197 #971A81
tetradic
#81971A #1A976F #301A97 #971A43
square
#81971A #1A976F #301A97 #971A43
split-complementary
#81971A #1A4397 #6F1A97
monochromatic
#282F08 #546311 #81971A #AECB23 #C6E04B

Accessibility & contrast

On white

3.29
#81971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#81971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81971A
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81971A#FFFFFF#000000##000000
##81971A1.003.296.376.37
#FFFFFF3.291.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9F8E27
Tritanopia (blue-blind)
#898E81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #81971a;
/* rgb */ color: rgb(129, 151, 26);
/* oklch */ color: oklch(63.7% 0.143 119.9);
Tailwind
colors: {
  custom: {
    50: '#a9b564',
    500: '#81971a',
    950: '#000000',
  },
}
SCSS
$custom: #81971a;
$custom-light: #a9b564;
$custom-dark: #000000;
JSON
{
  "hex": "#81971a",
  "rgb": {
    "r": 129,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 70.56,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63724,
    "c": 0.14289,
    "h": 119.9
  },
  "luminance": 0.26875
}

Semantic roles & 50–950 ramp

primary
#81971A
secondary
#604BC2
accent
#3AED5A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81971A

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

Preview Lab → · Contrast checker → · Palette generator →

#81971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva