#81971F#81971F

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

Color values

HEX#81971F
RGBrgb(129, 151, 31)
HSLhsl(71, 66%, 36%)
HSVhsv(71, 79%, 59%)
CMYKcmyk(14.6%, 0%, 79.5%, 40.8%)
CIE-LABlab(58.88, -23.56, 55.56)
CIE-LCHlch(58.88, 60.34, 112.98°)
OKLaboklab(63.75% -0.0702 0.1217)
OKLCHoklch(63.75% 0.141 120)
XYZxyz(20.3676, 26.8994, 5.4152)
Luminance0.2690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81971F #351F97
analogous
#97711F #81971F #45971F
triadic
#81971F #1F8197 #971F81
tetradic
#81971F #1F9771 #351F97 #971F45
square
#81971F #1F9771 #351F97 #971F45
split-complementary
#81971F #1F4597 #711F97
monochromatic
#2A310A #566415 #81971F #ACCA29 #C3DC54

Accessibility & contrast

On white

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

On black

6.38
#81971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #81971F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81971F#FFFFFF#000000##000000
##81971F1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #81971f;
/* rgb */ color: rgb(129, 151, 31);
/* oklch */ color: oklch(63.7% 0.141 120.0);
Tailwind
colors: {
  custom: {
    50: '#a9b566',
    500: '#81971f',
    950: '#000000',
  },
}
SCSS
$custom: #81971f;
$custom-light: #a9b566;
$custom-dark: #000000;
JSON
{
  "hex": "#81971f",
  "rgb": {
    "r": 129,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 71,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6375,
    "c": 0.14054,
    "h": 120
  },
  "luminance": 0.26899
}

Semantic roles & 50–950 ramp

primary
#81971F
secondary
#6652BF
accent
#3FE95E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81971F

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

Preview Lab → · Contrast checker → · Palette generator →

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