#8F875B#8F875B

#8F875B is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.9% C 0.062 H 99.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8F875B
RGBrgb(143, 135, 91)
HSLhsl(51, 22%, 46%)
HSVhsv(51, 36%, 56%)
CMYKcmyk(0%, 5.6%, 36.4%, 43.9%)
CIE-LABlab(56.01, -3.96, 24.77)
CIE-LCHlch(56.01, 25.09, 99.07°)
OKLaboklab(61.94% -0.0099 0.0613)
OKLCHoklch(61.94% 0.062 99.1)
XYZxyz(21.8803, 23.9235, 13.3606)
Luminance0.2392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F875B #5B638F
analogous
#8F6D5B #8F875B #7D8F5B
triadic
#8F875B #5B8F87 #875B8F
tetradic
#8F875B #5B8F6D #5B638F #8F5B7D
square
#8F875B #5B8F6D #5B638F #8F5B7D
split-complementary
#8F875B #5B7D8F #6D5B8F
monochromatic
#44402B #6A6443 #8F875B #ABA47C #C3BEA1

Accessibility & contrast

On white

3.63
#8F875B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#8F875B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F875B
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F875B#FFFFFF#000000##000000
##8F875B1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8458
Deuteranopia (green-blind)
#92885D
Tritanopia (blue-blind)
#97817C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f875b;
/* rgb */ color: rgb(143, 135, 91);
/* oklch */ color: oklch(61.9% 0.062 99.1);
Tailwind
colors: {
  custom: {
    50: '#b0a98a',
    500: '#8f875b',
    950: '#000000',
  },
}
SCSS
$custom: #8f875b;
$custom-light: #b0a98a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f875b",
  "rgb": {
    "r": 143,
    "g": 135,
    "b": 91
  },
  "hsl": {
    "h": 50.769,
    "s": 22.222,
    "l": 45.882
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.06212,
    "h": 99.1
  },
  "luminance": 0.23923
}

Semantic roles & 50–950 ramp

primary
#8F875B
secondary
#9599B1
accent
#76BF69
background
#FAFAF8
surface
#F5F4F0
border
#CFCECB
text
#11100B
muted
#807F7C

Preview Lab

Preview with #8F875B

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

Preview Lab → · Contrast checker → · Palette generator →

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