#8C8A6B#8C8A6B

#8C8A6B is a light, muted yellow. Relative luminance 0.248; OKLCH L 62.7% C 0.044 H 104.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8C8A6B
RGBrgb(140, 138, 107)
HSLhsl(56, 13%, 48%)
HSVhsv(56, 24%, 55%)
CMYKcmyk(0%, 1.4%, 23.6%, 45.1%)
CIE-LABlab(56.89, -4.63, 16.92)
CIE-LCHlch(56.89, 17.54, 105.31°)
OKLaboklab(62.68% -0.0111 0.043)
OKLCHoklch(62.68% 0.044 104.5)
XYZxyz(22.5575, 24.8143, 17.5084)
Luminance0.2481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A6B #6B6D8C
analogous
#8C796B #8C8A6B #7D8C6B
triadic
#8C8A6B #6B8C8A #8A6B8C
tetradic
#8C8A6B #6B8C79 #6B6D8C #8C6B7D
square
#8C8A6B #6B8C79 #6B6D8C #8C6B7D
split-complementary
#8C8A6B #6B7D8C #796B8C
monochromatic
#474636 #696850 #8C8A6B #A8A68D #C2C1AF

Accessibility & contrast

On white

3.52
#8C8A6B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8C8A6B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A6B
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A6B#FFFFFF#000000##000000
##8C8A6B1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#908869
Deuteranopia (green-blind)
#91896C
Tritanopia (blue-blind)
#918682
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8a6b;
/* rgb */ color: rgb(140, 138, 107);
/* oklch */ color: oklch(62.7% 0.044 104.5);
Tailwind
colors: {
  custom: {
    50: '#aeac95',
    500: '#8c8a6b',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a6b;
$custom-light: #aeac95;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a6b",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 107
  },
  "hsl": {
    "h": 56.364,
    "s": 13.36,
    "l": 48.431
  },
  "oklch": {
    "l": 0.62676,
    "c": 0.04441,
    "h": 104.5
  },
  "luminance": 0.24814
}

Semantic roles & 50–950 ramp

primary
#8C8A6B
secondary
#A1A2B1
accent
#76B672
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8C8A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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