#87861B#87861B

#87861B is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.122 H 109.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#87861B
RGBrgb(135, 134, 27)
HSLhsl(59, 67%, 32%)
HSVhsv(59, 80%, 53%)
CMYKcmyk(0%, 0.7%, 80%, 47.1%)
CIE-LABlab(54.32, -12.23, 52.87)
CIE-LCHlch(54.32, 54.27, 103.03°)
OKLaboklab(60.21% -0.0396 0.115)
OKLCHoklch(60.21% 0.122 109)
XYZxyz(18.7153, 22.2808, 4.3515)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87861B #1B1C87
analogous
#87501B #87861B #52871B
triadic
#87861B #1B8786 #861B87
tetradic
#87861B #1B8750 #1B1C87 #871B52
square
#87861B #1B8750 #1B1C87 #871B52
split-complementary
#87861B #1B5287 #501B87
monochromatic
#212107 #545311 #87861B #BAB925 #D9D843

Accessibility & contrast

On white

3.85
#87861B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#87861B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87861B
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87861B#FFFFFF#000000##000000
##87861B1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#917D72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #87861b;
/* rgb */ color: rgb(135, 134, 27);
/* oklch */ color: oklch(60.2% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#ada962',
    500: '#87861b',
    950: '#000000',
  },
}
SCSS
$custom: #87861b;
$custom-light: #ada962;
$custom-dark: #000000;
JSON
{
  "hex": "#87861b",
  "rgb": {
    "r": 135,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 59.444,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60205,
    "c": 0.12166,
    "h": 109
  },
  "luminance": 0.2228
}

Semantic roles & 50–950 ramp

primary
#87861B
secondary
#4445BA
accent
#40EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #87861B

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

Preview Lab → · Contrast checker → · Palette generator →

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