#8B831D#8B831D

#8B831D is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 59.9% C 0.117 H 104.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8B831D
RGBrgb(139, 131, 29)
HSLhsl(56, 65%, 33%)
HSVhsv(56, 79%, 55%)
CMYKcmyk(0%, 5.8%, 79.1%, 45.5%)
CIE-LABlab(53.83, -8.69, 51.90)
CIE-LCHlch(53.83, 52.63, 99.50°)
OKLaboklab(59.9% -0.0297 0.1132)
OKLCHoklch(59.9% 0.117 104.7)
XYZxyz(18.9864, 21.8110, 4.3720)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B831D #1D258B
analogous
#8B4C1D #8B831D #5C8B1D
triadic
#8B831D #1D8B83 #831D8B
tetradic
#8B831D #1D8B4C #1D258B #8B1D5C
square
#8B831D #1D8B4C #1D258B #8B1D5C
split-complementary
#8B831D #1D5C8B #4C1D8B
monochromatic
#262408 #585312 #8B831D #BEB328 #D9CF49

Accessibility & contrast

On white

3.92
#8B831D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#8B831D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B831D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B831D#FFFFFF#000000##000000
##8B831D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E03
Deuteranopia (green-blind)
#928325
Tritanopia (blue-blind)
#967970
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8b831d;
/* rgb */ color: rgb(139, 131, 29);
/* oklch */ color: oklch(59.9% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b0a662',
    500: '#8b831d',
    950: '#000000',
  },
}
SCSS
$custom: #8b831d;
$custom-light: #b0a662;
$custom-dark: #000000;
JSON
{
  "hex": "#8b831d",
  "rgb": {
    "r": 139,
    "g": 131,
    "b": 29
  },
  "hsl": {
    "h": 55.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.11703,
    "h": 104.7
  },
  "luminance": 0.2181
}

Semantic roles & 50–950 ramp

primary
#8B831D
secondary
#4951BB
accent
#4CE83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8B831D

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

Preview Lab → · Contrast checker → · Palette generator →

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