#8C875F#8C875F

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

Color values

HEX#8C875F
RGBrgb(140, 135, 95)
HSLhsl(53, 19%, 46%)
HSVhsv(53, 32%, 55%)
CMYKcmyk(0%, 3.6%, 32.1%, 45.1%)
CIE-LABlab(55.82, -4.69, 22.23)
CIE-LCHlch(55.82, 22.72, 101.91°)
OKLaboklab(61.75% -0.0117 0.0555)
OKLCHoklch(61.75% 0.057 101.9)
XYZxyz(21.5449, 23.7301, 14.2697)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C875F #5F648C
analogous
#8C705F #8C875F #7A8C5F
triadic
#8C875F #5F8C87 #875F8C
tetradic
#8C875F #5F8C70 #5F648C #8C5F7A
square
#8C875F #5F8C70 #5F648C #8C5F7A
split-complementary
#8C875F #5F7A8C #705F8C
monochromatic
#43412E #686446 #8C875F #A9A480 #C1BEA4

Accessibility & contrast

On white

3.65
#8C875F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#8C875F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C875F
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C875F#FFFFFF#000000##000000
##8C875F1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8c875f;
/* rgb */ color: rgb(140, 135, 95);
/* oklch */ color: oklch(61.7% 0.057 101.9);
Tailwind
colors: {
  custom: {
    50: '#aea98c',
    500: '#8c875f',
    950: '#000000',
  },
}
SCSS
$custom: #8c875f;
$custom-light: #aea98c;
$custom-dark: #000000;
JSON
{
  "hex": "#8c875f",
  "rgb": {
    "r": 140,
    "g": 135,
    "b": 95
  },
  "hsl": {
    "h": 53.333,
    "s": 19.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.61747,
    "c": 0.05672,
    "h": 101.9
  },
  "luminance": 0.2373
}

Semantic roles & 50–950 ramp

primary
#8C875F
secondary
#979AB0
accent
#75BC6C
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100C
muted
#7F7F7D

Preview Lab

Preview with #8C875F

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

Preview Lab → · Contrast checker → · Palette generator →

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