#876E1F#876E1F

#876E1F is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.8% C 0.099 H 90.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#876E1F
RGBrgb(135, 110, 31)
HSLhsl(46, 63%, 33%)
HSVhsv(46, 77%, 53%)
CMYKcmyk(0%, 18.5%, 77%, 47.1%)
CIE-LABlab(47.50, 1.31, 45.12)
CIE-LCHlch(47.50, 45.14, 88.33°)
OKLaboklab(54.79% -0.001 0.0993)
OKLCHoklch(54.79% 0.099 90.6)
XYZxyz(15.8158, 16.4027, 3.6291)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E1F #1F3887
analogous
#873A1F #876E1F #6C871F
triadic
#876E1F #1F876E #6E1F87
tetradic
#876E1F #1F873A #1F3887 #871F6C
square
#876E1F #1F873A #1F3887 #871F6C
split-complementary
#876E1F #1F6C87 #3A1F87
monochromatic
#231D08 #554514 #876E1F #B9972A #D6B44B

Accessibility & contrast

On white

4.91
#876E1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#876E1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876E1F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876E1F#FFFFFF#000000##FFFFFF
##876E1F1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#817423
Tritanopia (blue-blind)
#93645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e1f;
/* rgb */ color: rgb(135, 110, 31);
/* oklch */ color: oklch(54.8% 0.099 90.6);
Tailwind
colors: {
  custom: {
    50: '#ae9761',
    500: '#876e1f',
    950: '#000000',
  },
}
SCSS
$custom: #876e1f;
$custom-light: #ae9761;
$custom-dark: #000000;
JSON
{
  "hex": "#876e1f",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 31
  },
  "hsl": {
    "h": 45.577,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.09932,
    "h": 90.6
  },
  "luminance": 0.16402
}

Semantic roles & 50–950 ramp

primary
#876E1F
secondary
#4A64B8
accent
#69E642
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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