#8B7A1B#8B7A1B

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

Color values

HEX#8B7A1B
RGBrgb(139, 122, 27)
HSLhsl(51, 67%, 33%)
HSVhsv(51, 81%, 55%)
CMYKcmyk(0%, 12.2%, 80.6%, 45.5%)
CIE-LABlab(51.25, -3.79, 50.25)
CIE-LCHlch(51.25, 50.39, 94.31°)
OKLaboklab(57.85% -0.0161 0.1092)
OKLCHoklch(57.85% 0.11 98.4)
XYZxyz(17.8057, 19.4881, 3.8604)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A1B #1B2C8B
analogous
#8B421B #8B7A1B #648B1B
triadic
#8B7A1B #1B8B7A #7A1B8B
tetradic
#8B7A1B #1B8B42 #1B2C8B #8B1B64
square
#8B7A1B #1B8B42 #1B2C8B #8B1B64
split-complementary
#8B7A1B #1B648B #421B8B
monochromatic
#252007 #584D11 #8B7A1B #BEA725 #DBC445

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B7A1B#FFFFFF#000000##000000
##8B7A1B1.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)
#877704
Deuteranopia (green-blind)
#8B7D22
Tritanopia (blue-blind)
#977068
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a1b;
/* rgb */ color: rgb(139, 122, 27);
/* oklch */ color: oklch(57.9% 0.110 98.4);
Tailwind
colors: {
  custom: {
    50: '#b1a060',
    500: '#8b7a1b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a1b;
$custom-light: #b1a060;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a1b",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 50.893,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.11043,
    "h": 98.4
  },
  "luminance": 0.19487
}

Semantic roles & 50–950 ramp

primary
#8B7A1B
secondary
#4557BC
accent
#58EA3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#110E05
muted
#807E79

Preview Lab

Preview with #8B7A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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