#87882F#87882F

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

Color values

HEX#87882F
RGBrgb(135, 136, 47)
HSLhsl(61, 49%, 36%)
HSVhsv(61, 65%, 53%)
CMYKcmyk(0.7%, 0%, 65.4%, 46.7%)
CIE-LABlab(55.04, -12.26, 45.93)
CIE-LCHlch(55.04, 47.54, 104.94°)
OKLaboklab(60.82% -0.0377 0.104)
OKLCHoklch(60.82% 0.111 109.9)
XYZxyz(19.3095, 22.9650, 6.1043)
Luminance0.2296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87882F #302F88
analogous
#885C2F #87882F #5A882F
triadic
#87882F #2F8788 #882F87
tetradic
#87882F #2F885C #302F88 #882F5A
square
#87882F #2F885C #302F88 #882F5A
split-complementary
#87882F #2F5A88 #5C2F88
monochromatic
#2D2D10 #5A5B1F #87882F #B4B53F #C9CA67

Accessibility & contrast

On white

3.75
#87882F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##87882F#FFFFFF#000000##000000
##87882F1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938223
Deuteranopia (green-blind)
#948535
Tritanopia (blue-blind)
#908076
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #87882f;
/* rgb */ color: rgb(135, 136, 47);
/* oklch */ color: oklch(60.8% 0.111 109.9);
Tailwind
colors: {
  custom: {
    50: '#adaa6c',
    500: '#87882f',
    950: '#000000',
  },
}
SCSS
$custom: #87882f;
$custom-light: #adaa6c;
$custom-dark: #000000;
JSON
{
  "hex": "#87882f",
  "rgb": {
    "r": 135,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 60.674,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60816,
    "c": 0.11062,
    "h": 109.9
  },
  "luminance": 0.22964
}

Semantic roles & 50–950 ramp

primary
#87882F
secondary
#6261B1
accent
#50D851
background
#FAFAF6
surface
#F5F4EC
border
#CFCEC7
text
#101007
muted
#7F7F7A

Preview Lab

Preview with #87882F

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

Preview Lab → · Contrast checker → · Palette generator →

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