#87842E#87842E

#87842E is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 59.9% C 0.107 H 107.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#87842E
RGBrgb(135, 132, 46)
HSLhsl(58, 49%, 35%)
HSVhsv(58, 66%, 53%)
CMYKcmyk(0%, 2.2%, 65.9%, 47.1%)
CIE-LABlab(53.87, -10.16, 45.15)
CIE-LCHlch(53.87, 46.28, 102.69°)
OKLaboklab(59.88% -0.0319 0.1022)
OKLCHoklch(59.88% 0.107 107.3)
XYZxyz(18.7367, 21.8513, 5.8150)
Luminance0.2185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87842E #2E3187
analogous
#87582E #87842E #5D872E
triadic
#87842E #2E8784 #842E87
tetradic
#87842E #2E8758 #2E3187 #872E5D
square
#87842E #2E8758 #2E3187 #872E5D
split-complementary
#87842E #2E5D87 #582E87
monochromatic
#2C2B0F #59571E #87842E #B5B13E #CAC765

Accessibility & contrast

On white

3.91
#87842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#87842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87842E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87842E#FFFFFF#000000##000000
##87842E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F23
Deuteranopia (green-blind)
#918233
Tritanopia (blue-blind)
#917C72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #87842e;
/* rgb */ color: rgb(135, 132, 46);
/* oklch */ color: oklch(59.9% 0.107 107.3);
Tailwind
colors: {
  custom: {
    50: '#ada76b',
    500: '#87842e',
    950: '#000000',
  },
}
SCSS
$custom: #87842e;
$custom-light: #ada76b;
$custom-dark: #000000;
JSON
{
  "hex": "#87842e",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 57.978,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59882,
    "c": 0.10705,
    "h": 107.3
  },
  "luminance": 0.21851
}

Semantic roles & 50–950 ramp

primary
#87842E
secondary
#6062B1
accent
#54D94F
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #87842E

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

Preview Lab → · Contrast checker → · Palette generator →

#87842E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva