#86871F#86871F

#86871F is a mid, vivid yellow. Relative luminance 0.225; OKLCH L 60.4% C 0.121 H 110.1°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#86871F
RGBrgb(134, 135, 31)
HSLhsl(61, 63%, 33%)
HSVhsv(61, 77%, 53%)
CMYKcmyk(0.7%, 0%, 77%, 47.1%)
CIE-LABlab(54.55, -13.06, 51.72)
CIE-LCHlch(54.55, 53.35, 104.17°)
OKLaboklab(60.37% -0.0415 0.1134)
OKLCHoklch(60.37% 0.121 110.1)
XYZxyz(18.7435, 22.4958, 4.6508)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86871F #201F87
analogous
#87541F #86871F #52871F
triadic
#86871F #1F8687 #871F86
tetradic
#86871F #1F8754 #201F87 #871F52
square
#86871F #1F8754 #201F87 #871F52
split-complementary
#86871F #1F5287 #541F87
monochromatic
#232308 #555514 #86871F #B7B92A #D4D64B

Accessibility & contrast

On white

3.82
#86871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#86871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86871F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86871F#FFFFFF#000000##000000
##86871F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928106
Deuteranopia (green-blind)
#938428
Tritanopia (blue-blind)
#907E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #86871f;
/* rgb */ color: rgb(134, 135, 31);
/* oklch */ color: oklch(60.4% 0.121 110.1);
Tailwind
colors: {
  custom: {
    50: '#ada964',
    500: '#86871f',
    950: '#000000',
  },
}
SCSS
$custom: #86871f;
$custom-light: #ada964;
$custom-dark: #000000;
JSON
{
  "hex": "#86871f",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 60.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6037,
    "c": 0.12076,
    "h": 110.1
  },
  "luminance": 0.22495
}

Semantic roles & 50–950 ramp

primary
#86871F
secondary
#4B4AB8
accent
#42E644
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #86871F

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

Preview Lab → · Contrast checker → · Palette generator →

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