#8B7E4E#8B7E4E

#8B7E4E is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.068 H 94.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8B7E4E
RGBrgb(139, 126, 78)
HSLhsl(47, 28%, 43%)
HSVhsv(47, 44%, 55%)
CMYKcmyk(0%, 9.4%, 43.9%, 45.5%)
CIE-LABlab(52.91, -2.20, 27.90)
CIE-LCHlch(52.91, 27.98, 94.51°)
OKLaboklab(59.33% -0.0056 0.068)
OKLCHoklch(59.33% 0.068 94.7)
XYZxyz(19.4839, 20.9614, 10.2259)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B7E4E #4E5B8B
analogous
#8B5F4E #8B7E4E #7A8B4E
triadic
#8B7E4E #4E8B7E #7E4E8B
tetradic
#8B7E4E #4E8B5F #4E5B8B #8B4E7A
square
#8B7E4E #4E8B5F #4E5B8B #8B4E7A
split-complementary
#8B7E4E #4E7A8B #5F4E8B
monochromatic
#3D3722 #645A38 #8B7E4E #AC9E6B #C2B792

Accessibility & contrast

On white

4.04
#8B7E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8B7E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B7E4E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B7E4E#FFFFFF#000000##000000
##8B7E4E1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877C4A
Deuteranopia (green-blind)
#8B8050
Tritanopia (blue-blind)
#947772
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b7e4e;
/* rgb */ color: rgb(139, 126, 78);
/* oklch */ color: oklch(59.3% 0.068 94.7);
Tailwind
colors: {
  custom: {
    50: '#aea380',
    500: '#8b7e4e',
    950: '#000000',
  },
}
SCSS
$custom: #8b7e4e;
$custom-light: #aea380;
$custom-dark: #000000;
JSON
{
  "hex": "#8b7e4e",
  "rgb": {
    "r": 139,
    "g": 126,
    "b": 78
  },
  "hsl": {
    "h": 47.213,
    "s": 28.111,
    "l": 42.549
  },
  "oklch": {
    "l": 0.5933,
    "c": 0.0682,
    "h": 94.7
  },
  "luminance": 0.20961
}

Semantic roles & 50–950 ramp

primary
#8B7E4E
secondary
#878FAE
accent
#78C463
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C

Preview Lab

Preview with #8B7E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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