#8B7D2B#8B7D2B

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

Color values

HEX#8B7D2B
RGBrgb(139, 125, 43)
HSLhsl(51, 53%, 36%)
HSVhsv(51, 69%, 55%)
CMYKcmyk(0%, 10.1%, 69.1%, 45.5%)
CIE-LABlab(52.21, -4.67, 44.86)
CIE-LCHlch(52.21, 45.10, 95.95°)
OKLaboklab(58.64% -0.0169 0.101)
OKLCHoklch(58.64% 0.102 99.5)
XYZxyz(18.4179, 20.3315, 5.2393)
Luminance0.2033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7D2B #2B398B
analogous
#8B4D2B #8B7D2B #698B2B
triadic
#8B7D2B #2B8B7D #7D2B8B
tetradic
#8B7D2B #2B8B4D #2B398B #8B2B69
square
#8B7D2B #2B8B4D #2B398B #8B2B69
split-complementary
#8B7D2B #2B698B #4D2B8B
monochromatic
#2E290E #5C531D #8B7D2B #BAA739 #CEBF62

Accessibility & contrast

On white

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

On black

5.07
#8B7D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7D2B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7D2B#FFFFFF#000000##000000
##8B7D2B1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b7d2b;
/* rgb */ color: rgb(139, 125, 43);
/* oklch */ color: oklch(58.6% 0.102 99.5);
Tailwind
colors: {
  custom: {
    50: '#b0a269',
    500: '#8b7d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7d2b;
$custom-light: #b0a269;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7d2b",
  "rgb": {
    "r": 139,
    "g": 125,
    "b": 43
  },
  "hsl": {
    "h": 51.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58643,
    "c": 0.10236,
    "h": 99.5
  },
  "luminance": 0.20331
}

Semantic roles & 50–950 ramp

primary
#8B7D2B
secondary
#5D6AB5
accent
#61DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110F06
muted
#807E7A

Preview Lab

Preview with #8B7D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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