#8B841D#8B841D

#8B841D is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.1% C 0.118 H 105.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8B841D
RGBrgb(139, 132, 29)
HSLhsl(56, 65%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5%, 79.1%, 45.5%)
CIE-LABlab(54.11, -9.24, 52.16)
CIE-LCHlch(54.11, 52.98, 100.04°)
OKLaboklab(60.13% -0.0313 0.1138)
OKLCHoklch(60.13% 0.118 105.4)
XYZxyz(19.1213, 22.0810, 4.4170)
Luminance0.2208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B841D #1D248B
analogous
#8B4D1D #8B841D #5B8B1D
triadic
#8B841D #1D8B84 #841D8B
tetradic
#8B841D #1D8B4D #1D248B #8B1D5B
square
#8B841D #1D8B4D #1D248B #8B1D5B
split-complementary
#8B841D #1D5B8B #4D1D8B
monochromatic
#262408 #585412 #8B841D #BEB428 #D9D049

Accessibility & contrast

On white

3.88
#8B841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8B841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B841D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B841D#FFFFFF#000000##000000
##8B841D1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F03
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#967B71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b841d;
/* rgb */ color: rgb(139, 132, 29);
/* oklch */ color: oklch(60.1% 0.118 105.4);
Tailwind
colors: {
  custom: {
    50: '#b0a763',
    500: '#8b841d',
    950: '#000000',
  },
}
SCSS
$custom: #8b841d;
$custom-light: #b0a763;
$custom-dark: #000000;
JSON
{
  "hex": "#8b841d",
  "rgb": {
    "r": 139,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 56.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60126,
    "c": 0.11797,
    "h": 105.4
  },
  "luminance": 0.2208
}

Semantic roles & 50–950 ramp

primary
#8B841D
secondary
#4950BB
accent
#4AE83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B841D

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

Preview Lab → · Contrast checker → · Palette generator →

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