#876E19#876E19

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

Color values

HEX#876E19
RGBrgb(135, 110, 25)
HSLhsl(46, 69%, 31%)
HSVhsv(46, 81%, 53%)
CMYKcmyk(0%, 18.5%, 81.5%, 47.1%)
CIE-LABlab(47.46, 1.06, 47.37)
CIE-LCHlch(47.46, 47.38, 88.72°)
OKLaboklab(54.75% -0.0024 0.1028)
OKLCHoklch(54.75% 0.103 91.3)
XYZxyz(15.7440, 16.3739, 3.2508)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E19 #193287
analogous
#873719 #876E19 #698719
triadic
#876E19 #19876E #6E1987
tetradic
#876E19 #198737 #193287 #871969
square
#876E19 #198737 #193287 #871969
split-complementary
#876E19 #196987 #371987
monochromatic
#201A06 #53440F #876E19 #BB9823 #DBB83F

Accessibility & contrast

On white

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

On black

4.27
#876E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##876E19#FFFFFF#000000##FFFFFF
##876E191.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #876e19;
/* rgb */ color: rgb(135, 110, 25);
/* oklch */ color: oklch(54.8% 0.103 91.3);
Tailwind
colors: {
  custom: {
    50: '#ae975e',
    500: '#876e19',
    950: '#000000',
  },
}
SCSS
$custom: #876e19;
$custom-light: #ae975e;
$custom-dark: #000000;
JSON
{
  "hex": "#876e19",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 46.364,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54752,
    "c": 0.10285,
    "h": 91.3
  },
  "luminance": 0.16373
}

Semantic roles & 50–950 ramp

primary
#876E19
secondary
#415DBA
accent
#64EC3C
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876E19

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

Preview Lab → · Contrast checker → · Palette generator →

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