#876D19#876D19

#876D19 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.5% C 0.102 H 90.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#876D19
RGBrgb(135, 109, 25)
HSLhsl(46, 69%, 31%)
HSVhsv(46, 81%, 53%)
CMYKcmyk(0%, 19.3%, 81.5%, 47.1%)
CIE-LABlab(47.18, 1.63, 47.12)
CIE-LCHlch(47.18, 47.15, 88.02°)
OKLaboklab(54.53% -0.0007 0.1023)
OKLCHoklch(54.53% 0.102 90.4)
XYZxyz(15.6367, 16.1594, 3.2150)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876D19 #193387
analogous
#873619 #876D19 #6A8719
triadic
#876D19 #19876D #6D1987
tetradic
#876D19 #198736 #193387 #87196A
square
#876D19 #198736 #193387 #87196A
split-complementary
#876D19 #196A87 #361987
monochromatic
#201A06 #53430F #876D19 #BB9723 #DBB63F

Accessibility & contrast

On white

4.96
#876D19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#876D19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876D19
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876D19#FFFFFF#000000##FFFFFF
##876D191.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C06
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#93635D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #876d19;
/* rgb */ color: rgb(135, 109, 25);
/* oklch */ color: oklch(54.5% 0.102 90.4);
Tailwind
colors: {
  custom: {
    50: '#ae965e',
    500: '#876d19',
    950: '#000000',
  },
}
SCSS
$custom: #876d19;
$custom-light: #ae965e;
$custom-dark: #000000;
JSON
{
  "hex": "#876d19",
  "rgb": {
    "r": 135,
    "g": 109,
    "b": 25
  },
  "hsl": {
    "h": 45.818,
    "s": 68.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54533,
    "c": 0.10228,
    "h": 90.4
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#876D19
secondary
#415EBA
accent
#66EC3C
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876D19

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

Preview Lab → · Contrast checker → · Palette generator →

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