#8B7A1D#8B7A1D

#8B7A1D is a mid, moderate yellow. Relative luminance 0.195; OKLCH L 57.9% C 0.109 H 98.3°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8B7A1D
RGBrgb(139, 122, 29)
HSLhsl(51, 65%, 33%)
HSVhsv(51, 79%, 55%)
CMYKcmyk(0%, 12.2%, 79.1%, 45.5%)
CIE-LABlab(51.26, -3.71, 49.56)
CIE-LCHlch(51.26, 49.70, 94.28°)
OKLaboklab(57.86% -0.0157 0.1082)
OKLCHoklch(57.86% 0.109 98.3)
XYZxyz(17.8297, 19.4977, 3.9864)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A1D #1D2E8B
analogous
#8B431D #8B7A1D #658B1D
triadic
#8B7A1D #1D8B7A #7A1D8B
tetradic
#8B7A1D #1D8B43 #1D2E8B #8B1D65
square
#8B7A1D #1D8B43 #1D2E8B #8B1D65
split-complementary
#8B7A1D #1D658B #431D8B
monochromatic
#262108 #584E12 #8B7A1D #BEA628 #D9C349

Accessibility & contrast

On white

4.29
#8B7A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#8B7A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7A1D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7A1D#FFFFFF#000000##000000
##8B7A1D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#877708
Deuteranopia (green-blind)
#8B7D23
Tritanopia (blue-blind)
#967068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a1d;
/* rgb */ color: rgb(139, 122, 29);
/* oklch */ color: oklch(57.9% 0.109 98.3);
Tailwind
colors: {
  custom: {
    50: '#b1a061',
    500: '#8b7a1d',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a1d;
$custom-light: #b1a061;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a1d",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 29
  },
  "hsl": {
    "h": 50.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.57863,
    "c": 0.10932,
    "h": 98.3
  },
  "luminance": 0.19497
}

Semantic roles & 50–950 ramp

primary
#8B7A1D
secondary
#495ABB
accent
#59E83F
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E05
muted
#807E7A

Preview Lab

Preview with #8B7A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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