#8B7C2B#8B7C2B

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

Color values

HEX#8B7C2B
RGBrgb(139, 124, 43)
HSLhsl(51, 53%, 36%)
HSVhsv(51, 69%, 55%)
CMYKcmyk(0%, 10.8%, 69.1%, 45.5%)
CIE-LABlab(51.93, -4.11, 44.57)
CIE-LCHlch(51.93, 44.76, 95.27°)
OKLaboklab(58.42% -0.0153 0.1003)
OKLCHoklch(58.42% 0.102 98.7)
XYZxyz(18.2920, 20.0795, 5.1973)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7C2B #2B3A8B
analogous
#8B4C2B #8B7C2B #6A8B2B
triadic
#8B7C2B #2B8B7C #7C2B8B
tetradic
#8B7C2B #2B8B4C #2B3A8B #8B2B6A
square
#8B7C2B #2B8B4C #2B3A8B #8B2B6A
split-complementary
#8B7C2B #2B6A8B #4C2B8B
monochromatic
#2E290E #5C521D #8B7C2B #BAA639 #CEBD62

Accessibility & contrast

On white

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

On black

5.02
#8B7C2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7C2B
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7C2B#FFFFFF#000000##000000
##8B7C2B1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#887920
Deuteranopia (green-blind)
#8C7E30
Tritanopia (blue-blind)
#96736B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b7c2b;
/* rgb */ color: rgb(139, 124, 43);
/* oklch */ color: oklch(58.4% 0.102 98.7);
Tailwind
colors: {
  custom: {
    50: '#b0a169',
    500: '#8b7c2b',
    950: '#000000',
  },
}
SCSS
$custom: #8b7c2b;
$custom-light: #b0a169;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7c2b",
  "rgb": {
    "r": 139,
    "g": 124,
    "b": 43
  },
  "hsl": {
    "h": 50.625,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.58419,
    "c": 0.1015,
    "h": 98.7
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#8B7C2B
secondary
#5D6BB5
accent
#62DC4C
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#110E06
muted
#807E7A

Preview Lab

Preview with #8B7C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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