#8C8A6A#8C8A6A

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

Color values

HEX#8C8A6A
RGBrgb(140, 138, 106)
HSLhsl(56, 14%, 48%)
HSVhsv(56, 24%, 55%)
CMYKcmyk(0%, 1.4%, 24.3%, 45.1%)
CIE-LABlab(56.87, -4.78, 17.46)
CIE-LCHlch(56.87, 18.10, 105.32°)
OKLaboklab(62.65% -0.0116 0.0443)
OKLCHoklch(62.65% 0.046 104.7)
XYZxyz(22.5052, 24.7934, 17.2329)
Luminance0.2479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A6A #6A6C8C
analogous
#8C796A #8C8A6A #7D8C6A
triadic
#8C8A6A #6A8C8A #8A6A8C
tetradic
#8C8A6A #6A8C79 #6A6C8C #8C6A7D
square
#8C8A6A #6A8C79 #6A6C8C #8C6A7D
split-complementary
#8C8A6A #6A7D8C #796A8C
monochromatic
#464535 #696850 #8C8A6A #A8A68C #C2C1AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8A6A#FFFFFF#000000##000000
##8C8A6A1.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)
#908768
Deuteranopia (green-blind)
#91896B
Tritanopia (blue-blind)
#918681
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8a6a;
/* rgb */ color: rgb(140, 138, 106);
/* oklch */ color: oklch(62.7% 0.046 104.7);
Tailwind
colors: {
  custom: {
    50: '#aeac94',
    500: '#8c8a6a',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a6a;
$custom-light: #aeac94;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a6a",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 106
  },
  "hsl": {
    "h": 56.471,
    "s": 13.821,
    "l": 48.235
  },
  "oklch": {
    "l": 0.62653,
    "c": 0.04578,
    "h": 104.7
  },
  "luminance": 0.24793
}

Semantic roles & 50–950 ramp

primary
#8C8A6A
secondary
#A1A2B1
accent
#75B771
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8C8A6A

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

Preview Lab → · Contrast checker → · Palette generator →

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