#8D861D#8D861D

#8D861D is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.8% C 0.120 H 105.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8D861D
RGBrgb(141, 134, 29)
HSLhsl(56, 66%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5%, 79.4%, 44.7%)
CIE-LABlab(54.87, -9.40, 52.92)
CIE-LCHlch(54.87, 53.74, 100.08°)
OKLaboklab(60.77% -0.0319 0.1153)
OKLCHoklch(60.77% 0.12 105.4)
XYZxyz(19.7322, 22.8024, 4.5241)
Luminance0.2280 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D861D #1D248D
analogous
#8D4E1D #8D861D #5C8D1D
triadic
#8D861D #1D8D86 #861D8D
tetradic
#8D861D #1D8D4E #1D248D #8D1D5C
square
#8D861D #1D8D4E #1D248D #8D1D5C
split-complementary
#8D861D #1D5C8D #4E1D8D
monochromatic
#272608 #5A5613 #8D861D #C0B627 #DAD14B

Accessibility & contrast

On white

3.78
#8D861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#8D861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D861D
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D861D#FFFFFF#000000##000000
##8D861D1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#958526
Tritanopia (blue-blind)
#987C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d861d;
/* rgb */ color: rgb(141, 134, 29);
/* oklch */ color: oklch(60.8% 0.120 105.4);
Tailwind
colors: {
  custom: {
    50: '#b2a863',
    500: '#8d861d',
    950: '#000000',
  },
}
SCSS
$custom: #8d861d;
$custom-light: #b2a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8d861d",
  "rgb": {
    "r": 141,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 56.25,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.11958,
    "h": 105.4
  },
  "luminance": 0.22802
}

Semantic roles & 50–950 ramp

primary
#8D861D
secondary
#4A51BC
accent
#4AE93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D861D

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

Preview Lab → · Contrast checker → · Palette generator →

#8D861D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva