#87861A#87861A

#87861A 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#87861A
RGBrgb(135, 134, 26)
HSLhsl(59, 68%, 32%)
HSVhsv(59, 81%, 53%)
CMYKcmyk(0%, 0.7%, 80.7%, 47.1%)
CIE-LABlab(54.32, -12.27, 53.18)
CIE-LCHlch(54.32, 54.57, 102.99°)
OKLaboklab(60.2% -0.0398 0.1155)
OKLCHoklch(60.2% 0.122 109)
XYZxyz(18.7040, 22.2763, 4.2916)
Luminance0.2228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87861A #1A1B87
analogous
#87501A #87861A #52871A
triadic
#87861A #1A8786 #861A87
tetradic
#87861A #1A8750 #1A1B87 #871A52
square
#87861A #1A8750 #1A1B87 #871A52
split-complementary
#87861A #1A5287 #501A87
monochromatic
#202006 #545310 #87861A #BAB924 #DAD941

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87861A#FFFFFF#000000##000000
##87861A1.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: #87861a;
/* rgb */ color: rgb(135, 134, 26);
/* oklch */ color: oklch(60.2% 0.122 109.0);
Tailwind
colors: {
  custom: {
    50: '#ada961',
    500: '#87861a',
    950: '#000000',
  },
}
SCSS
$custom: #87861a;
$custom-light: #ada961;
$custom-dark: #000000;
JSON
{
  "hex": "#87861a",
  "rgb": {
    "r": 135,
    "g": 134,
    "b": 26
  },
  "hsl": {
    "h": 59.45,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.12216,
    "h": 109
  },
  "luminance": 0.22276
}

Semantic roles & 50–950 ramp

primary
#87861A
secondary
#4244BA
accent
#3FEB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #87861A

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

Preview Lab → · Contrast checker → · Palette generator →

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