#8B7D1D#8B7D1D

#8B7D1D is a mid, moderate yellow. Relative luminance 0.202; OKLCH L 58.5% C 0.112 H 100.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8B7D1D
RGBrgb(139, 125, 29)
HSLhsl(52, 65%, 33%)
HSVhsv(52, 79%, 55%)
CMYKcmyk(0%, 10.1%, 79.1%, 45.5%)
CIE-LABlab(52.11, -5.38, 50.34)
CIE-LCHlch(52.11, 50.63, 96.10°)
OKLaboklab(58.54% -0.0204 0.1099)
OKLCHoklch(58.54% 0.112 100.5)
XYZxyz(18.2037, 20.2458, 4.1111)
Luminance0.2024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D1D #1D2B8B
analogous
#8B461D #8B7D1D #628B1D
triadic
#8B7D1D #1D8B7D #7D1D8B
tetradic
#8B7D1D #1D8B46 #1D2B8B #8B1D62
square
#8B7D1D #1D8B46 #1D2B8B #8B1D62
split-complementary
#8B7D1D #1D628B #461D8B
monochromatic
#262208 #584F12 #8B7D1D #BEAB28 #D9C749

Accessibility & contrast

On white

4.16
#8B7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8B7D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D1D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D1D#FFFFFF#000000##000000
##8B7D1D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7907
Deuteranopia (green-blind)
#8E7F24
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d1d;
/* rgb */ color: rgb(139, 125, 29);
/* oklch */ color: oklch(58.5% 0.112 100.5);
Tailwind
colors: {
  custom: {
    50: '#b0a262',
    500: '#8b7d1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d1d;
$custom-light: #b0a262;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d1d",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 29
  },
  "hsl": {
    "h": 52.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58537,
    "c": 0.11174,
    "h": 100.5
  },
  "luminance": 0.20245
}

Semantic roles & 50–950 ramp

primary
#8B7D1D
secondary
#4957BB
accent
#55E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F05
muted
#807E7A

Preview Lab

Preview with #8B7D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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