#81971B#81971B

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

Color values

HEX#81971B
RGBrgb(129, 151, 27)
HSLhsl(71, 70%, 35%)
HSVhsv(71, 82%, 59%)
CMYKcmyk(14.6%, 0%, 82.1%, 40.8%)
CIE-LABlab(58.86, -23.72, 56.72)
CIE-LCHlch(58.86, 61.48, 112.69°)
OKLaboklab(63.73% -0.071 0.1235)
OKLCHoklch(63.73% 0.142 119.9)
XYZxyz(20.3181, 26.8796, 5.1546)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81971B #311B97
analogous
#976F1B #81971B #43971B
triadic
#81971B #1B8197 #971B81
tetradic
#81971B #1B976F #311B97 #971B43
square
#81971B #1B976F #311B97 #971B43
split-complementary
#81971B #1B4397 #6F1B97
monochromatic
#282F08 #556312 #81971B #ADCB24 #C5DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##81971B#FFFFFF#000000##000000
##81971B1.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)
#9F8E28
Tritanopia (blue-blind)
#898E81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #81971b;
/* rgb */ color: rgb(129, 151, 27);
/* oklch */ color: oklch(63.7% 0.142 119.9);
Tailwind
colors: {
  custom: {
    50: '#a9b564',
    500: '#81971b',
    950: '#000000',
  },
}
SCSS
$custom: #81971b;
$custom-light: #a9b564;
$custom-dark: #000000;
JSON
{
  "hex": "#81971b",
  "rgb": {
    "r": 129,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 70.645,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63729,
    "c": 0.14245,
    "h": 119.9
  },
  "luminance": 0.26879
}

Semantic roles & 50–950 ramp

primary
#81971B
secondary
#614CC1
accent
#3BEC5B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81971B

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

Preview Lab → · Contrast checker → · Palette generator →

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