#876C18#876C18

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

Color values

HEX#876C18
RGBrgb(135, 108, 24)
HSLhsl(45, 70%, 31%)
HSVhsv(45, 82%, 53%)
CMYKcmyk(0%, 20%, 82.2%, 47.1%)
CIE-LABlab(46.90, 2.17, 47.22)
CIE-LCHlch(46.90, 47.27, 87.37°)
OKLaboklab(54.31% 0.0007 0.1023)
OKLCHoklch(54.31% 0.102 89.6)
XYZxyz(15.5201, 15.9430, 3.1238)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876C18 #183387
analogous
#873418 #876C18 #6A8718
triadic
#876C18 #18876C #6C1887
tetradic
#876C18 #188734 #183387 #87186A
square
#876C18 #188734 #183387 #87186A
split-complementary
#876C18 #186A87 #341887
monochromatic
#1F1906 #53420F #876C18 #BB9621 #DCB63D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876C18#FFFFFF#000000##FFFFFF
##876C181.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)
#796B05
Deuteranopia (green-blind)
#80721D
Tritanopia (blue-blind)
#93625C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #876c18;
/* rgb */ color: rgb(135, 108, 24);
/* oklch */ color: oklch(54.3% 0.102 89.6);
Tailwind
colors: {
  custom: {
    50: '#ae955d',
    500: '#876c18',
    950: '#000000',
  },
}
SCSS
$custom: #876c18;
$custom-light: #ae955d;
$custom-dark: #000000;
JSON
{
  "hex": "#876c18",
  "rgb": {
    "r": 135,
    "g": 108,
    "b": 24
  },
  "hsl": {
    "h": 45.405,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54308,
    "c": 0.10227,
    "h": 89.6
  },
  "luminance": 0.15942
}

Semantic roles & 50–950 ramp

primary
#876C18
secondary
#405EBB
accent
#66ED3B
background
#FBF9F5
surface
#F6F1E9
border
#D0CBC5
text
#110D04
muted
#807E79

Preview Lab

Preview with #876C18

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

Preview Lab → · Contrast checker → · Palette generator →

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