#876C17#876C17

#876C17 is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.3% C 0.103 H 89.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#876C17
RGBrgb(135, 108, 23)
HSLhsl(46, 71%, 31%)
HSVhsv(46, 83%, 53%)
CMYKcmyk(0%, 20%, 83%, 47.1%)
CIE-LABlab(46.89, 2.13, 47.56)
CIE-LCHlch(46.89, 47.61, 87.43°)
OKLaboklab(54.3% 0.0005 0.1028)
OKLCHoklch(54.3% 0.103 89.7)
XYZxyz(15.5098, 15.9389, 3.0701)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876C17 #173287
analogous
#873417 #876C17 #6A8717
triadic
#876C17 #17876C #6C1787
tetradic
#876C17 #178734 #173287 #87176A
square
#876C17 #178734 #173287 #87176A
split-complementary
#876C17 #176A87 #341787
monochromatic
#1E1805 #53420E #876C17 #BB9620 #DEB63B

Accessibility & contrast

On white

5.01
#876C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#876C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876C17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876C17#FFFFFF#000000##FFFFFF
##876C171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#80721C
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #876c17;
/* rgb */ color: rgb(135, 108, 23);
/* oklch */ color: oklch(54.3% 0.103 89.7);
Tailwind
colors: {
  custom: {
    50: '#ae955d',
    500: '#876c17',
    950: '#000000',
  },
}
SCSS
$custom: #876c17;
$custom-light: #ae955d;
$custom-dark: #000000;
JSON
{
  "hex": "#876c17",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 45.536,
    "s": 70.886,
    "l": 30.98
  },
  "oklch": {
    "l": 0.54302,
    "c": 0.10278,
    "h": 89.7
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#876C17
secondary
#3F5DBB
accent
#65EE3A
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #876C17

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

Preview Lab → · Contrast checker → · Palette generator →

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