#86871B#86871B

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

Color values

HEX#86871B
RGBrgb(134, 135, 27)
HSLhsl(61, 67%, 32%)
HSVhsv(61, 80%, 53%)
CMYKcmyk(0.7%, 0%, 80%, 47.1%)
CIE-LABlab(54.53, -13.23, 53.02)
CIE-LCHlch(54.53, 54.64, 104.01°)
OKLaboklab(60.35% -0.0423 0.1154)
OKLCHoklch(60.35% 0.123 110.1)
XYZxyz(18.6940, 22.4760, 4.3903)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#86871B #1C1B87
analogous
#87521B #86871B #50871B
triadic
#86871B #1B8687 #871B86
tetradic
#86871B #1B8752 #1C1B87 #871B50
square
#86871B #1B8752 #1C1B87 #871B50
split-complementary
#86871B #1B5087 #521B87
monochromatic
#212107 #535411 #86871B #B9BA25 #D8D943

Accessibility & contrast

On white

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

On black

5.49
#86871B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #86871B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##86871B#FFFFFF#000000##000000
##86871B1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #86871b;
/* rgb */ color: rgb(134, 135, 27);
/* oklch */ color: oklch(60.3% 0.123 110.1);
Tailwind
colors: {
  custom: {
    50: '#ada962',
    500: '#86871b',
    950: '#000000',
  },
}
SCSS
$custom: #86871b;
$custom-light: #ada962;
$custom-dark: #000000;
JSON
{
  "hex": "#86871b",
  "rgb": {
    "r": 134,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 60.556,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.12291,
    "h": 110.1
  },
  "luminance": 0.22475
}

Semantic roles & 50–950 ramp

primary
#86871B
secondary
#4544BA
accent
#3EEA40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #86871B

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

Preview Lab → · Contrast checker → · Palette generator →

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