#8B7D2A#8B7D2A

#8B7D2A is a mid, moderate yellow. Relative luminance 0.203; OKLCH L 58.6% C 0.103 H 99.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8B7D2A
RGBrgb(139, 125, 42)
HSLhsl(51, 54%, 35%)
HSVhsv(51, 70%, 55%)
CMYKcmyk(0%, 10.1%, 69.8%, 45.5%)
CIE-LABlab(52.20, -4.73, 45.29)
CIE-LCHlch(52.20, 45.54, 95.96°)
OKLaboklab(58.63% -0.0172 0.1017)
OKLCHoklch(58.63% 0.103 99.6)
XYZxyz(18.3998, 20.3242, 5.1438)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D2A #2A388B
analogous
#8B4C2A #8B7D2A #688B2A
triadic
#8B7D2A #2A8B7D #7D2A8B
tetradic
#8B7D2A #2A8B4C #2A388B #8B2A68
square
#8B7D2A #2A8B4C #2A388B #8B2A68
split-complementary
#8B7D2A #2A688B #4C2A8B
monochromatic
#2D280E #5C531C #8B7D2A #BAA738 #CFBF60

Accessibility & contrast

On white

4.15
#8B7D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8B7D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D2A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D2A#FFFFFF#000000##000000
##8B7D2A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A1F
Deuteranopia (green-blind)
#8D7F2F
Tritanopia (blue-blind)
#96746C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7d2a;
/* rgb */ color: rgb(139, 125, 42);
/* oklch */ color: oklch(58.6% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#b0a268',
    500: '#8b7d2a',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d2a;
$custom-light: #b0a268;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d2a",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 42
  },
  "hsl": {
    "h": 51.34,
    "s": 53.591,
    "l": 35.49
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.10313,
    "h": 99.6
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#8B7D2A
secondary
#5C69B5
accent
#60DD4B
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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