#876E23#876E23

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

Color values

HEX#876E23
RGBrgb(135, 110, 35)
HSLhsl(45, 59%, 33%)
HSVhsv(45, 74%, 53%)
CMYKcmyk(0%, 18.5%, 74.1%, 47.1%)
CIE-LABlab(47.53, 1.51, 43.47)
CIE-LCHlch(47.53, 43.49, 88.01°)
OKLaboklab(54.83% 0.0001 0.0967)
OKLCHoklch(54.83% 0.097 89.9)
XYZxyz(15.8719, 16.4251, 3.9242)
Luminance0.1642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E23 #233C87
analogous
#873C23 #876E23 #6E8723
triadic
#876E23 #23876E #6E2387
tetradic
#876E23 #23873C #233C87 #87236E
square
#876E23 #23873C #233C87 #87236E
split-complementary
#876E23 #236E87 #3C2387
monochromatic
#261F0A #564616 #876E23 #B89630 #D2B252

Accessibility & contrast

On white

4.90
#876E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#876E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #876E23
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##876E23#FFFFFF#000000##FFFFFF
##876E231.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D18
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#92645F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e23;
/* rgb */ color: rgb(135, 110, 35);
/* oklch */ color: oklch(54.8% 0.097 89.9);
Tailwind
colors: {
  custom: {
    50: '#ad9763',
    500: '#876e23',
    950: '#000000',
  },
}
SCSS
$custom: #876e23;
$custom-light: #ad9763;
$custom-dark: #000000;
JSON
{
  "hex": "#876e23",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 45,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54825,
    "c": 0.09666,
    "h": 89.9
  },
  "luminance": 0.16424
}

Semantic roles & 50–950 ramp

primary
#876E23
secondary
#5069B6
accent
#6DE246
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110D05
muted
#807E7A

Preview Lab

Preview with #876E23

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

Preview Lab → · Contrast checker → · Palette generator →

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