#876F1B#876F1B

#876F1B is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 55.0% C 0.102 H 92.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#876F1B
RGBrgb(135, 111, 27)
HSLhsl(47, 67%, 32%)
HSVhsv(47, 80%, 53%)
CMYKcmyk(0%, 17.8%, 80%, 47.1%)
CIE-LABlab(47.75, 0.56, 46.91)
CIE-LCHlch(47.75, 46.91, 89.31°)
OKLaboklab(54.98% -0.0036 0.1023)
OKLCHoklch(54.98% 0.102 92)
XYZxyz(15.8749, 16.5999, 3.4047)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F1B #1B3387
analogous
#87391B #876F1B #69871B
triadic
#876F1B #1B876F #6F1B87
tetradic
#876F1B #1B8739 #1B3387 #871B69
square
#876F1B #1B8739 #1B3387 #871B69
split-complementary
#876F1B #1B6987 #391B87
monochromatic
#211B07 #544511 #876F1B #BA9925 #D9B843

Accessibility & contrast

On white

4.86
#876F1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#876F1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876F1B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876F1B#FFFFFF#000000##FFFFFF
##876F1B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#93655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f1b;
/* rgb */ color: rgb(135, 111, 27);
/* oklch */ color: oklch(55.0% 0.102 92.0);
Tailwind
colors: {
  custom: {
    50: '#ae985f',
    500: '#876f1b',
    950: '#000000',
  },
}
SCSS
$custom: #876f1b;
$custom-light: #ae985f;
$custom-dark: #000000;
JSON
{
  "hex": "#876f1b",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 46.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54985,
    "c": 0.10233,
    "h": 92
  },
  "luminance": 0.16599
}

Semantic roles & 50–950 ramp

primary
#876F1B
secondary
#445EBA
accent
#64EA3E
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F1B

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

Preview Lab → · Contrast checker → · Palette generator →

#876F1B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva