#876F1C#876F1C

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

Color values

HEX#876F1C
RGBrgb(135, 111, 28)
HSLhsl(47, 66%, 32%)
HSVhsv(47, 79%, 53%)
CMYKcmyk(0%, 17.8%, 79.3%, 47.1%)
CIE-LABlab(47.76, 0.60, 46.54)
CIE-LCHlch(47.76, 46.54, 89.26°)
OKLaboklab(54.99% -0.0033 0.1017)
OKLCHoklch(54.99% 0.102 91.9)
XYZxyz(15.8866, 16.6046, 3.4666)
Luminance0.1660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876F1C #1C3487
analogous
#873A1C #876F1C #6A871C
triadic
#876F1C #1C876F #6F1C87
tetradic
#876F1C #1C873A #1C3487 #871C6A
square
#876F1C #1C873A #1C3487 #871C6A
split-complementary
#876F1C #1C6A87 #3A1C87
monochromatic
#221C07 #544511 #876F1C #BA9927 #D8B745

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876F1C#FFFFFF#000000##FFFFFF
##876F1C1.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)
#7C6D0C
Deuteranopia (green-blind)
#827421
Tritanopia (blue-blind)
#93655F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876f1c;
/* rgb */ color: rgb(135, 111, 28);
/* oklch */ color: oklch(55.0% 0.102 91.9);
Tailwind
colors: {
  custom: {
    50: '#ae985f',
    500: '#876f1c',
    950: '#000000',
  },
}
SCSS
$custom: #876f1c;
$custom-light: #ae985f;
$custom-dark: #000000;
JSON
{
  "hex": "#876f1c",
  "rgb": {
    "r": 135,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 46.542,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54992,
    "c": 0.10175,
    "h": 91.9
  },
  "luminance": 0.16604
}

Semantic roles & 50–950 ramp

primary
#876F1C
secondary
#455FBA
accent
#65E93F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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