#87841E#87841E

#87841E is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.8% C 0.118 H 107.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#87841E
RGBrgb(135, 132, 30)
HSLhsl(58, 64%, 32%)
HSVhsv(58, 78%, 53%)
CMYKcmyk(0%, 2.2%, 77.8%, 47.1%)
CIE-LABlab(53.76, -11.03, 51.37)
CIE-LCHlch(53.76, 52.54, 102.12°)
OKLaboklab(59.76% -0.036 0.1124)
OKLCHoklch(59.76% 0.118 107.7)
XYZxyz(18.4780, 21.7478, 4.4524)
Luminance0.2175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#87841E #1E2187
analogous
#87501E #87841E #55871E
triadic
#87841E #1E8784 #841E87
tetradic
#87841E #1E8750 #1E2187 #871E55
square
#87841E #1E8750 #1E2187 #871E55
split-complementary
#87841E #1E5587 #501E87
monochromatic
#232208 #555313 #87841E #B9B529 #D7D249

Accessibility & contrast

On white

3.93
#87841E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#87841E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #87841E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##87841E#FFFFFF#000000##000000
##87841E1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F05
Deuteranopia (green-blind)
#918226
Tritanopia (blue-blind)
#917B71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #87841e;
/* rgb */ color: rgb(135, 132, 30);
/* oklch */ color: oklch(59.8% 0.118 107.7);
Tailwind
colors: {
  custom: {
    50: '#ada763',
    500: '#87841e',
    950: '#000000',
  },
}
SCSS
$custom: #87841e;
$custom-light: #ada763;
$custom-dark: #000000;
JSON
{
  "hex": "#87841e",
  "rgb": {
    "r": 135,
    "g": 132,
    "b": 30
  },
  "hsl": {
    "h": 58.286,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59758,
    "c": 0.11804,
    "h": 107.7
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#87841E
secondary
#484BB9
accent
#46E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #87841E

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

Preview Lab → · Contrast checker → · Palette generator →

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