#8B861D#8B861D

#8B861D is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.6% C 0.120 H 106.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8B861D
RGBrgb(139, 134, 29)
HSLhsl(57, 65%, 33%)
HSVhsv(57, 79%, 55%)
CMYKcmyk(0%, 3.6%, 79.1%, 45.5%)
CIE-LABlab(54.69, -10.32, 52.68)
CIE-LCHlch(54.69, 53.69, 101.09°)
OKLaboklab(60.58% -0.0343 0.1149)
OKLCHoklch(60.58% 0.12 106.6)
XYZxyz(19.3951, 22.6286, 4.5083)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B861D #1D228B
analogous
#8B4F1D #8B861D #598B1D
triadic
#8B861D #1D8B86 #861D8B
tetradic
#8B861D #1D8B4F #1D228B #8B1D59
square
#8B861D #1D8B4F #1D228B #8B1D59
split-complementary
#8B861D #1D598B #4F1D8B
monochromatic
#262408 #585512 #8B861D #BEB728 #D9D349

Accessibility & contrast

On white

3.80
#8B861D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8B861D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B861D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B861D#FFFFFF#000000##000000
##8B861D1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928101
Deuteranopia (green-blind)
#948526
Tritanopia (blue-blind)
#967D72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8b861d;
/* rgb */ color: rgb(139, 134, 29);
/* oklch */ color: oklch(60.6% 0.120 106.6);
Tailwind
colors: {
  custom: {
    50: '#b0a863',
    500: '#8b861d',
    950: '#000000',
  },
}
SCSS
$custom: #8b861d;
$custom-light: #b0a863;
$custom-dark: #000000;
JSON
{
  "hex": "#8b861d",
  "rgb": {
    "r": 139,
    "g": 134,
    "b": 29
  },
  "hsl": {
    "h": 57.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.11987,
    "h": 106.6
  },
  "luminance": 0.22628
}

Semantic roles & 50–950 ramp

primary
#8B861D
secondary
#494EBB
accent
#47E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B861D

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

Preview Lab → · Contrast checker → · Palette generator →

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