#87891A#87891A

#87891A 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#87891A
RGBrgb(135, 137, 26)
HSLhsl(61, 68%, 32%)
HSVhsv(61, 81%, 54%)
CMYKcmyk(1.5%, 0%, 81%, 46.3%)
CIE-LABlab(55.19, -13.88, 53.95)
CIE-LCHlch(55.19, 55.71, 104.42°)
OKLaboklab(60.9% -0.0442 0.1172)
OKLCHoklch(60.9% 0.125 110.7)
XYZxyz(19.1245, 23.1173, 4.4318)
Luminance0.2312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87891A #1C1A89
analogous
#89541A #87891A #50891A
triadic
#87891A #1A8789 #891A87
tetradic
#87891A #1A8954 #1C1A89 #891A50
square
#87891A #1A8954 #1C1A89 #891A50
split-complementary
#87891A #1A5089 #541A89
monochromatic
#222206 #545610 #87891A #BABC24 #D8DB42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87891A#FFFFFF#000000##000000
##87891A1.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)
#958624
Tritanopia (blue-blind)
#918075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87891a;
/* rgb */ color: rgb(135, 137, 26);
/* oklch */ color: oklch(60.9% 0.125 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab62',
    500: '#87891a',
    950: '#000000',
  },
}
SCSS
$custom: #87891a;
$custom-light: #adab62;
$custom-dark: #000000;
JSON
{
  "hex": "#87891a",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 61.081,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.12524,
    "h": 110.7
  },
  "luminance": 0.23117
}

Semantic roles & 50–950 ramp

primary
#87891A
secondary
#4543BC
accent
#3DEB40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87891A

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

Preview Lab → · Contrast checker → · Palette generator →

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