#86971A#86971A

#86971A is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.1% C 0.141 H 117.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#86971A
RGBrgb(134, 151, 26)
HSLhsl(68, 71%, 35%)
HSVhsv(68, 83%, 59%)
CMYKcmyk(11.3%, 0%, 82.8%, 40.8%)
CIE-LABlab(59.23, -21.59, 57.46)
CIE-LCHlch(59.23, 61.38, 110.59°)
OKLaboklab(64.12% -0.0655 0.1247)
OKLCHoklch(64.12% 0.141 117.7)
XYZxyz(21.0851, 27.2764, 5.1312)
Luminance0.2728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86971A #2B1A97
analogous
#976A1A #86971A #48971A
triadic
#86971A #1A8697 #971A86
tetradic
#86971A #1A976A #2B1A97 #971A48
square
#86971A #1A976A #2B1A97 #971A48
split-complementary
#86971A #1A4897 #6A1A97
monochromatic
#292F08 #586311 #86971A #B4CB23 #CCE04B

Accessibility & contrast

On white

3.25
#86971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#86971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86971A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86971A#FFFFFF#000000##000000
##86971A1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#8F8E81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #86971a;
/* rgb */ color: rgb(134, 151, 26);
/* oklch */ color: oklch(64.1% 0.141 117.7);
Tailwind
colors: {
  custom: {
    50: '#adb564',
    500: '#86971a',
    950: '#000000',
  },
}
SCSS
$custom: #86971a;
$custom-light: #adb564;
$custom-dark: #000000;
JSON
{
  "hex": "#86971a",
  "rgb": {
    "r": 134,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 68.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64117,
    "c": 0.14087,
    "h": 117.7
  },
  "luminance": 0.27276
}

Semantic roles & 50–950 ramp

primary
#86971A
secondary
#5B4BC2
accent
#3AED53
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #86971A

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

Preview Lab → · Contrast checker → · Palette generator →

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