#8B7C2A#8B7C2A

#8B7C2A is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.4% C 0.102 H 98.8°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B7C2A
RGBrgb(139, 124, 42)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 70%, 55%)
CMYKcmyk(0%, 10.8%, 69.8%, 45.5%)
CIE-LABlab(51.92, -4.17, 45.00)
CIE-LCHlch(51.92, 45.19, 95.30°)
OKLaboklab(58.41% -0.0156 0.1011)
OKLCHoklch(58.41% 0.102 98.8)
XYZxyz(18.2739, 20.0723, 5.1018)
Luminance0.2007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7C2A #2A398B
analogous
#8B4C2A #8B7C2A #698B2A
triadic
#8B7C2A #2A8B7C #7C2A8B
tetradic
#8B7C2A #2A8B4C #2A398B #8B2A69
square
#8B7C2A #2A8B4C #2A398B #8B2A69
split-complementary
#8B7C2A #2A698B #4C2A8B
monochromatic
#2D280E #5C521C #8B7C2A #BAA638 #CFBE60

Accessibility & contrast

On white

4.19
#8B7C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8B7C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7C2A
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7C2A#FFFFFF#000000##000000
##8B7C2A1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#8C7E2F
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7c2a;
/* rgb */ color: rgb(139, 124, 42);
/* oklch */ color: oklch(58.4% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#b0a168',
    500: '#8b7c2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b7c2a;
$custom-light: #b0a168;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7c2a",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 50.722,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.10227,
    "h": 98.8
  },
  "luminance": 0.20071
}

Semantic roles & 50–950 ramp

primary
#8B7C2A
secondary
#5C6AB5
accent
#61DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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