#87881B#87881B

#87881B is a mid, vivid yellow. Relative luminance 0.228; OKLCH L 60.7% C 0.124 H 110.1°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#87881B
RGBrgb(135, 136, 27)
HSLhsl(61, 67%, 32%)
HSVhsv(61, 80%, 53%)
CMYKcmyk(0.7%, 0%, 80.1%, 46.7%)
CIE-LABlab(54.91, -13.30, 53.39)
CIE-LCHlch(54.91, 55.02, 103.99°)
OKLaboklab(60.67% -0.0426 0.1162)
OKLCHoklch(60.67% 0.124 110.1)
XYZxyz(18.9944, 22.8389, 4.4445)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87881B #1C1B88
analogous
#88521B #87881B #51881B
triadic
#87881B #1B8788 #881B87
tetradic
#87881B #1B8852 #1C1B88 #881B51
square
#87881B #1B8852 #1C1B88 #881B51
split-complementary
#87881B #1B5188 #521B88
monochromatic
#222207 #545511 #87881B #BABB25 #D8DA44

Accessibility & contrast

On white

3.77
#87881B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#87881B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87881B
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87881B#FFFFFF#000000##000000
##87881B1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#958525
Tritanopia (blue-blind)
#917F74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #87881b;
/* rgb */ color: rgb(135, 136, 27);
/* oklch */ color: oklch(60.7% 0.124 110.1);
Tailwind
colors: {
  custom: {
    50: '#adaa62',
    500: '#87881b',
    950: '#000000',
  },
}
SCSS
$custom: #87881b;
$custom-light: #adaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#87881b",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 27
  },
  "hsl": {
    "h": 60.55,
    "s": 66.871,
    "l": 31.961
  },
  "oklch": {
    "l": 0.6067,
    "c": 0.12371,
    "h": 110.1
  },
  "luminance": 0.22838
}

Semantic roles & 50–950 ramp

primary
#87881B
secondary
#4544BB
accent
#3EEA40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #87881B

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

Preview Lab → · Contrast checker → · Palette generator →

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