#87891C#87891C

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

Color values

HEX#87891C
RGBrgb(135, 137, 28)
HSLhsl(61, 66%, 32%)
HSVhsv(61, 80%, 54%)
CMYKcmyk(1.5%, 0%, 79.6%, 46.3%)
CIE-LABlab(55.20, -13.80, 53.34)
CIE-LCHlch(55.20, 55.10, 104.50°)
OKLaboklab(60.91% -0.0439 0.1162)
OKLCHoklch(60.91% 0.124 110.7)
XYZxyz(19.1476, 23.1266, 4.5536)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87891C #1E1C89
analogous
#89551C #87891C #50891C
triadic
#87891C #1C8789 #891C87
tetradic
#87891C #1C8955 #1E1C89 #891C50
square
#87891C #1C8955 #1E1C89 #891C50
split-complementary
#87891C #1C5089 #551C89
monochromatic
#232307 #555612 #87891C #B9BC26 #D7D946

Accessibility & contrast

On white

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

On black

5.63
#87891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87891C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87891C#FFFFFF#000000##000000
##87891C1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #87891c;
/* rgb */ color: rgb(135, 137, 28);
/* oklch */ color: oklch(60.9% 0.124 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab63',
    500: '#87891c',
    950: '#000000',
  },
}
SCSS
$custom: #87891c;
$custom-light: #adab63;
$custom-dark: #000000;
JSON
{
  "hex": "#87891c",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 61.101,
    "s": 66.061,
    "l": 32.353
  },
  "oklch": {
    "l": 0.60909,
    "c": 0.12424,
    "h": 110.7
  },
  "luminance": 0.23126
}

Semantic roles & 50–950 ramp

primary
#87891C
secondary
#4846BB
accent
#3FE942
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87891C

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

Preview Lab → · Contrast checker → · Palette generator →

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