#876E20#876E20

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

Color values

HEX#876E20
RGBrgb(135, 110, 32)
HSLhsl(45, 62%, 33%)
HSVhsv(45, 76%, 53%)
CMYKcmyk(0%, 18.5%, 76.3%, 47.1%)
CIE-LABlab(47.51, 1.36, 44.71)
CIE-LCHlch(47.51, 44.74, 88.26°)
OKLaboklab(54.8% -0.0007 0.0987)
OKLCHoklch(54.8% 0.099 90.4)
XYZxyz(15.8292, 16.4080, 3.6995)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#876E20 #203987
analogous
#873A20 #876E20 #6C8720
triadic
#876E20 #20876E #6E2087
tetradic
#876E20 #20873A #203987 #87206C
square
#876E20 #20873A #203987 #87206C
split-complementary
#876E20 #206C87 #3A2087
monochromatic
#241D09 #564614 #876E20 #B8962C #D5B44D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##876E20#FFFFFF#000000##FFFFFF
##876E201.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)
#7B6D14
Deuteranopia (green-blind)
#817424
Tritanopia (blue-blind)
#93645F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #876e20;
/* rgb */ color: rgb(135, 110, 32);
/* oklch */ color: oklch(54.8% 0.099 90.4);
Tailwind
colors: {
  custom: {
    50: '#ae9761',
    500: '#876e20',
    950: '#000000',
  },
}
SCSS
$custom: #876e20;
$custom-light: #ae9761;
$custom-dark: #000000;
JSON
{
  "hex": "#876e20",
  "rgb": {
    "r": 135,
    "g": 110,
    "b": 32
  },
  "hsl": {
    "h": 45.437,
    "s": 61.677,
    "l": 32.745
  },
  "oklch": {
    "l": 0.54801,
    "c": 0.09868,
    "h": 90.4
  },
  "luminance": 0.16407
}

Semantic roles & 50–950 ramp

primary
#876E20
secondary
#4B65B8
accent
#6AE543
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110D05
muted
#807E79

Preview Lab

Preview with #876E20

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

Preview Lab → · Contrast checker → · Palette generator →

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