#87891B#87891B

#87891B is a mid, vivid yellow. Relative luminance 0.231; OKLCH L 60.9% C 0.125 H 110.7°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#87891B
RGBrgb(135, 137, 27)
HSLhsl(61, 67%, 32%)
HSVhsv(61, 80%, 54%)
CMYKcmyk(1.5%, 0%, 80.3%, 46.3%)
CIE-LABlab(55.20, -13.84, 53.65)
CIE-LCHlch(55.20, 55.40, 104.46°)
OKLaboklab(60.9% -0.0441 0.1167)
OKLCHoklch(60.9% 0.125 110.7)
XYZxyz(19.1359, 23.1219, 4.4917)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87891B #1D1B89
analogous
#89541B #87891B #50891B
triadic
#87891B #1B8789 #891B87
tetradic
#87891B #1B8954 #1D1B89 #891B50
square
#87891B #1B8954 #1D1B89 #891B50
split-complementary
#87891B #1B5089 #541B89
monochromatic
#222307 #555611 #87891B #B9BC25 #D7DA44

Accessibility & contrast

On white

3.73
#87891B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#87891B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87891B
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87891B#FFFFFF#000000##000000
##87891B1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#948300
Deuteranopia (green-blind)
#958625
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87891b;
/* rgb */ color: rgb(135, 137, 27);
/* oklch */ color: oklch(60.9% 0.125 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab62',
    500: '#87891b',
    950: '#000000',
  },
}
SCSS
$custom: #87891b;
$custom-light: #adab62;
$custom-dark: #000000;
JSON
{
  "hex": "#87891b",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 27
  },
  "hsl": {
    "h": 61.091,
    "s": 67.073,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.12474,
    "h": 110.7
  },
  "luminance": 0.23121
}

Semantic roles & 50–950 ramp

primary
#87891B
secondary
#4644BC
accent
#3EEA41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87891B

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

Preview Lab → · Contrast checker → · Palette generator →

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