#87891D#87891D

#87891D 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#87891D
RGBrgb(135, 137, 29)
HSLhsl(61, 65%, 33%)
HSVhsv(61, 79%, 54%)
CMYKcmyk(1.5%, 0%, 78.8%, 46.3%)
CIE-LABlab(55.21, -13.76, 53.03)
CIE-LCHlch(55.21, 54.78, 104.55°)
OKLaboklab(60.91% -0.0437 0.1158)
OKLCHoklch(60.91% 0.124 110.7)
XYZxyz(19.1598, 23.1315, 4.6177)
Luminance0.2313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87891D #1F1D89
analogous
#89551D #87891D #51891D
triadic
#87891D #1D8789 #891D87
tetradic
#87891D #1D8955 #1F1D89 #891D51
square
#87891D #1D8955 #1F1D89 #891D51
split-complementary
#87891D #1D5189 #551D89
monochromatic
#232408 #555612 #87891D #B9BC28 #D6D848

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##87891D#FFFFFF#000000##000000
##87891D1.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: #87891d;
/* rgb */ color: rgb(135, 137, 29);
/* oklch */ color: oklch(60.9% 0.124 110.7);
Tailwind
colors: {
  custom: {
    50: '#adab63',
    500: '#87891d',
    950: '#000000',
  },
}
SCSS
$custom: #87891d;
$custom-light: #adab63;
$custom-dark: #000000;
JSON
{
  "hex": "#87891d",
  "rgb": {
    "r": 135,
    "g": 137,
    "b": 29
  },
  "hsl": {
    "h": 61.111,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60914,
    "c": 0.12372,
    "h": 110.7
  },
  "luminance": 0.23131
}

Semantic roles & 50–950 ramp

primary
#87891D
secondary
#4A47BA
accent
#40E843
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87891D

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

Preview Lab → · Contrast checker → · Palette generator →

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