#8B7B1D#8B7B1D

#8B7B1D is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.110 H 99.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8B7B1D
RGBrgb(139, 123, 29)
HSLhsl(51, 65%, 33%)
HSVhsv(51, 79%, 55%)
CMYKcmyk(0%, 11.5%, 79.1%, 45.5%)
CIE-LABlab(51.55, -4.27, 49.82)
CIE-LCHlch(51.55, 50.00, 94.90°)
OKLaboklab(58.09% -0.0173 0.1087)
OKLCHoklch(58.09% 0.11 99)
XYZxyz(17.9531, 19.7445, 4.0276)
Luminance0.1974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7B1D #1D2D8B
analogous
#8B441D #8B7B1D #648B1D
triadic
#8B7B1D #1D8B7B #7B1D8B
tetradic
#8B7B1D #1D8B44 #1D2D8B #8B1D64
square
#8B7B1D #1D8B44 #1D2D8B #8B1D64
split-complementary
#8B7B1D #1D648B #441D8B
monochromatic
#262108 #584E12 #8B7B1D #BEA828 #D9C449

Accessibility & contrast

On white

4.24
#8B7B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#8B7B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7B1D
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7B1D#FFFFFF#000000##000000
##8B7B1D1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#8C7D24
Tritanopia (blue-blind)
#967169
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8b7b1d;
/* rgb */ color: rgb(139, 123, 29);
/* oklch */ color: oklch(58.1% 0.110 99.0);
Tailwind
colors: {
  custom: {
    50: '#b1a061',
    500: '#8b7b1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7b1d;
$custom-light: #b1a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7b1d",
  "rgb": {
    "r": 139,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 51.273,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58087,
    "c": 0.11011,
    "h": 99
  },
  "luminance": 0.19744
}

Semantic roles & 50–950 ramp

primary
#8B7B1D
secondary
#4959BB
accent
#58E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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