#8B7A2A#8B7A2A

#8B7A2A is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.0% C 0.101 H 97.1°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8B7A2A
RGBrgb(139, 122, 42)
HSLhsl(49, 54%, 35%)
HSVhsv(49, 70%, 55%)
CMYKcmyk(0%, 12.2%, 69.8%, 45.5%)
CIE-LABlab(51.35, -3.05, 44.42)
CIE-LCHlch(51.35, 44.52, 93.93°)
OKLaboklab(57.96% -0.0124 0.0999)
OKLCHoklch(57.96% 0.101 97.1)
XYZxyz(18.0258, 19.5761, 5.0191)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7A2A #2A3B8B
analogous
#8B4A2A #8B7A2A #6B8B2A
triadic
#8B7A2A #2A8B7A #7A2A8B
tetradic
#8B7A2A #2A8B4A #2A3B8B #8B2A6B
square
#8B7A2A #2A8B4A #2A3B8B #8B2A6B
split-complementary
#8B7A2A #2A6B8B #4A2A8B
monochromatic
#2D270E #5C511C #8B7A2A #BAA338 #CFBC60

Accessibility & contrast

On white

4.27
#8B7A2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#8B7A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7A2A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7A2A#FFFFFF#000000##000000
##8B7A2A1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86771F
Deuteranopia (green-blind)
#8B7D2E
Tritanopia (blue-blind)
#96716A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8b7a2a;
/* rgb */ color: rgb(139, 122, 42);
/* oklch */ color: oklch(58.0% 0.101 97.1);
Tailwind
colors: {
  custom: {
    50: '#b0a068',
    500: '#8b7a2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b7a2a;
$custom-light: #b0a068;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7a2a",
  "rgb": {
    "r": 139,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 49.485,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.10061,
    "h": 97.1
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#8B7A2A
secondary
#5C6CB5
accent
#64DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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