#87882D#87882D

#87882D is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.112 H 109.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#87882D
RGBrgb(135, 136, 45)
HSLhsl(61, 50%, 35%)
HSVhsv(61, 67%, 53%)
CMYKcmyk(0.7%, 0%, 66.9%, 46.7%)
CIE-LABlab(55.02, -12.39, 46.78)
CIE-LCHlch(55.02, 48.39, 104.83°)
OKLaboklab(60.8% -0.0382 0.1055)
OKLCHoklch(60.8% 0.112 109.9)
XYZxyz(19.2701, 22.9492, 5.8967)
Luminance0.2295 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87882D #2E2D88
analogous
#885B2D #87882D #5A882D
triadic
#87882D #2D8788 #882D87
tetradic
#87882D #2D885B #2E2D88 #882D5A
square
#87882D #2D885B #2E2D88 #882D5A
split-complementary
#87882D #2D5A88 #5B2D88
monochromatic
#2C2C0F #595A1E #87882D #B5B63C #CACC64

Accessibility & contrast

On white

3.76
#87882D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#87882D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87882D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87882D#FFFFFF#000000##000000
##87882D1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#948533
Tritanopia (blue-blind)
#908075
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87882d;
/* rgb */ color: rgb(135, 136, 45);
/* oklch */ color: oklch(60.8% 0.112 109.9);
Tailwind
colors: {
  custom: {
    50: '#adaa6b',
    500: '#87882d',
    950: '#000000',
  },
}
SCSS
$custom: #87882d;
$custom-light: #adaa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#87882d",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 60.659,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60797,
    "c": 0.1122,
    "h": 109.9
  },
  "luminance": 0.22949
}

Semantic roles & 50–950 ramp

primary
#87882D
secondary
#605FB2
accent
#4EDA50
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #87882D

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

Preview Lab → · Contrast checker → · Palette generator →

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