#8B875F#8B875F

#8B875F is a mid, muted yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.057 H 103.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#8B875F
RGBrgb(139, 135, 95)
HSLhsl(55, 19%, 46%)
HSVhsv(55, 32%, 55%)
CMYKcmyk(0%, 2.9%, 31.7%, 45.5%)
CIE-LABlab(55.73, -5.11, 22.10)
CIE-LCHlch(55.73, 22.68, 103.01°)
OKLaboklab(61.66% -0.0128 0.0552)
OKLCHoklch(61.66% 0.057 103.1)
XYZxyz(21.3772, 23.6436, 14.2618)
Luminance0.2364 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B875F #5F638B
analogous
#8B715F #8B875F #798B5F
triadic
#8B875F #5F8B87 #875F8B
tetradic
#8B875F #5F8B71 #5F638B #8B5F79
square
#8B875F #5F8B71 #5F638B #8B5F79
split-complementary
#8B875F #5F798B #715F8B
monochromatic
#42402D #676446 #8B875F #A8A47F #C1BEA4

Accessibility & contrast

On white

3.67
#8B875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#8B875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B875F
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B875F#FFFFFF#000000##000000
##8B875F1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E845C
Deuteranopia (green-blind)
#908760
Tritanopia (blue-blind)
#91827D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8b875f;
/* rgb */ color: rgb(139, 135, 95);
/* oklch */ color: oklch(61.7% 0.057 103.1);
Tailwind
colors: {
  custom: {
    50: '#ada98c',
    500: '#8b875f',
    950: '#000000',
  },
}
SCSS
$custom: #8b875f;
$custom-light: #ada98c;
$custom-dark: #000000;
JSON
{
  "hex": "#8b875f",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 54.545,
    "s": 18.803,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.05667,
    "h": 103.1
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#8B875F
secondary
#9799AF
accent
#74BB6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8B875F

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

Preview Lab → · Contrast checker → · Palette generator →

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