#876E18#876E18

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

Color values

HEX#876E18
RGBrgb(135, 110, 24)
HSLhsl(46, 70%, 31%)
HSVhsv(46, 82%, 53%)
CMYKcmyk(0%, 18.5%, 82.2%, 47.1%)
CIE-LABlab(47.46, 1.02, 47.72)
CIE-LCHlch(47.46, 47.73, 88.78°)
OKLaboklab(54.75% -0.0026 0.1033)
OKLCHoklch(54.75% 0.103 91.4)
XYZxyz(15.7334, 16.3697, 3.1950)
Luminance0.1637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E18 #183187
analogous
#873618 #876E18 #688718
triadic
#876E18 #18876E #6E1887
tetradic
#876E18 #188736 #183187 #871868
square
#876E18 #188736 #183187 #871868
split-complementary
#876E18 #186887 #361887
monochromatic
#1F1906 #53440F #876E18 #BB9821 #DCB93D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876E18#FFFFFF#000000##FFFFFF
##876E181.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)
#7B6C04
Deuteranopia (green-blind)
#81741E
Tritanopia (blue-blind)
#93645E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e18;
/* rgb */ color: rgb(135, 110, 24);
/* oklch */ color: oklch(54.7% 0.103 91.4);
Tailwind
colors: {
  custom: {
    50: '#ae975d',
    500: '#876e18',
    950: '#000000',
  },
}
SCSS
$custom: #876e18;
$custom-light: #ae975d;
$custom-dark: #000000;
JSON
{
  "hex": "#876e18",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 24
  },
  "hsl": {
    "h": 46.486,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.54746,
    "c": 0.10337,
    "h": 91.4
  },
  "luminance": 0.16369
}

Semantic roles & 50–950 ramp

primary
#876E18
secondary
#405CBB
accent
#63ED3B
background
#FBF9F5
surface
#F6F2E9
border
#D0CCC5
text
#110D05
muted
#807E79

Preview Lab

Preview with #876E18

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

Preview Lab → · Contrast checker → · Palette generator →

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