#81971C#81971C

#81971C 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#81971C
RGBrgb(129, 151, 28)
HSLhsl(71, 69%, 35%)
HSVhsv(71, 81%, 59%)
CMYKcmyk(14.6%, 0%, 81.5%, 40.8%)
CIE-LABlab(58.87, -23.68, 56.44)
CIE-LCHlch(58.87, 61.21, 112.76°)
OKLaboklab(63.73% -0.0708 0.1231)
OKLCHoklch(63.73% 0.142 119.9)
XYZxyz(20.3299, 26.8843, 5.2166)
Luminance0.2688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81971C #321C97
analogous
#97701C #81971C #43971C
triadic
#81971C #1C8197 #971C81
tetradic
#81971C #1C9770 #321C97 #971C43
square
#81971C #1C9770 #321C97 #971C43
split-complementary
#81971C #1C4397 #701C97
monochromatic
#293009 #556312 #81971C #ADCB26 #C5DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #81971c;
/* rgb */ color: rgb(129, 151, 28);
/* oklch */ color: oklch(63.7% 0.142 119.9);
Tailwind
colors: {
  custom: {
    50: '#a9b565',
    500: '#81971c',
    950: '#000000',
  },
}
SCSS
$custom: #81971c;
$custom-light: #a9b565;
$custom-dark: #000000;
JSON
{
  "hex": "#81971c",
  "rgb": {
    "r": 129,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 70.732,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.14199,
    "h": 119.9
  },
  "luminance": 0.26884
}

Semantic roles & 50–950 ramp

primary
#81971C
secondary
#624EC1
accent
#3CEC5C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #81971C

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

Preview Lab → · Contrast checker → · Palette generator →

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