#8B731D#8B731D

#8B731D is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.3% C 0.104 H 92.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8B731D
RGBrgb(139, 115, 29)
HSLhsl(47, 65%, 33%)
HSVhsv(47, 79%, 55%)
CMYKcmyk(0%, 17.3%, 79.1%, 45.5%)
CIE-LABlab(49.30, 0.24, 47.75)
CIE-LCHlch(49.30, 47.75, 89.71°)
OKLaboklab(56.31% -0.0045 0.1043)
OKLCHoklch(56.31% 0.104 92.5)
XYZxyz(17.0009, 17.8402, 3.7102)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B731D #1D358B
analogous
#8B3C1D #8B731D #6C8B1D
triadic
#8B731D #1D8B73 #731D8B
tetradic
#8B731D #1D8B3C #1D358B #8B1D6C
square
#8B731D #1D8B3C #1D358B #8B1D6C
split-complementary
#8B731D #1D6C8B #3C1D8B
monochromatic
#261F08 #584912 #8B731D #BE9D28 #D9BA49

Accessibility & contrast

On white

4.60
#8B731D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8B731D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B731D
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B731D#FFFFFF#000000##FFFFFF
##8B731D1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710C
Deuteranopia (green-blind)
#867822
Tritanopia (blue-blind)
#976963
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b731d;
/* rgb */ color: rgb(139, 115, 29);
/* oklch */ color: oklch(56.3% 0.104 92.5);
Tailwind
colors: {
  custom: {
    50: '#b19a60',
    500: '#8b731d',
    950: '#000000',
  },
}
SCSS
$custom: #8b731d;
$custom-light: #b19a60;
$custom-dark: #000000;
JSON
{
  "hex": "#8b731d",
  "rgb": {
    "r": 139,
    "g": 115,
    "b": 29
  },
  "hsl": {
    "h": 46.909,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.10441,
    "h": 92.5
  },
  "luminance": 0.17839
}

Semantic roles & 50–950 ramp

primary
#8B731D
secondary
#4962BB
accent
#64E83F
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B731D

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

Preview Lab → · Contrast checker → · Palette generator →

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