#8B791D#8B791D

#8B791D is a mid, moderate yellow. Relative luminance 0.193; OKLCH L 57.6% C 0.109 H 97.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8B791D
RGBrgb(139, 121, 29)
HSLhsl(50, 65%, 33%)
HSVhsv(50, 79%, 55%)
CMYKcmyk(0%, 12.9%, 79.1%, 45.5%)
CIE-LABlab(50.98, -3.15, 49.30)
CIE-LCHlch(50.98, 49.40, 93.65°)
OKLaboklab(57.64% -0.0141 0.1076)
OKLCHoklch(57.64% 0.109 97.5)
XYZxyz(17.7075, 19.2534, 3.9457)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B791D #1D2F8B
analogous
#8B421D #8B791D #668B1D
triadic
#8B791D #1D8B79 #791D8B
tetradic
#8B791D #1D8B42 #1D2F8B #8B1D66
square
#8B791D #1D8B42 #1D2F8B #8B1D66
split-complementary
#8B791D #1D668B #421D8B
monochromatic
#262108 #584D12 #8B791D #BEA528 #D9C249

Accessibility & contrast

On white

4.33
#8B791D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8B791D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B791D
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B791D#FFFFFF#000000##000000
##8B791D1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867609
Deuteranopia (green-blind)
#8B7C23
Tritanopia (blue-blind)
#976F68
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b791d;
/* rgb */ color: rgb(139, 121, 29);
/* oklch */ color: oklch(57.6% 0.109 97.5);
Tailwind
colors: {
  custom: {
    50: '#b19f61',
    500: '#8b791d',
    950: '#000000',
  },
}
SCSS
$custom: #8b791d;
$custom-light: #b19f61;
$custom-dark: #000000;
JSON
{
  "hex": "#8b791d",
  "rgb": {
    "r": 139,
    "g": 121,
    "b": 29
  },
  "hsl": {
    "h": 50.182,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.10855,
    "h": 97.5
  },
  "luminance": 0.19252
}

Semantic roles & 50–950 ramp

primary
#8B791D
secondary
#495BBB
accent
#5BE83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B791D

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

Preview Lab → · Contrast checker → · Palette generator →

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