#8C8A78#8C8A78

#8C8A78 is a light, muted yellow. Relative luminance 0.251; OKLCH L 63.0% C 0.026 H 101.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8C8A78
RGBrgb(140, 138, 120)
HSLhsl(54, 8%, 51%)
HSVhsv(54, 14%, 55%)
CMYKcmyk(0%, 1.4%, 14.3%, 45.1%)
CIE-LABlab(57.18, -2.54, 9.92)
CIE-LCHlch(57.18, 10.24, 104.35°)
OKLaboklab(63% -0.0054 0.0257)
OKLCHoklch(63% 0.026 101.9)
XYZxyz(23.2936, 25.1087, 21.3850)
Luminance0.2511 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8A78 #787A8C
analogous
#8C8078 #8C8A78 #848C78
triadic
#8C8A78 #788C8A #8A788C
tetradic
#8C8A78 #788C80 #787A8C #8C7884
square
#8C8A78 #788C80 #787A8C #8C7884
split-complementary
#8C8A78 #78848C #80788C
monochromatic
#4A493F #6B6A5B #8C8A78 #A8A799 #C4C3BA

Accessibility & contrast

On white

3.49
#8C8A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8C8A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8A78
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8A78#FFFFFF#000000##000000
##8C8A781.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8977
Deuteranopia (green-blind)
#8E8A79
Tritanopia (blue-blind)
#8F8785
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8a78;
/* rgb */ color: rgb(140, 138, 120);
/* oklch */ color: oklch(63.0% 0.026 101.9);
Tailwind
colors: {
  custom: {
    50: '#adac9f',
    500: '#8c8a78',
    950: '#000000',
  },
}
SCSS
$custom: #8c8a78;
$custom-light: #adac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8a78",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 120
  },
  "hsl": {
    "h": 54,
    "s": 8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.62997,
    "c": 0.02626,
    "h": 101.9
  },
  "luminance": 0.25108
}

Semantic roles & 50–950 ramp

primary
#8C8A78
secondary
#ABACB4
accent
#7DB177
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8C8A78

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

Preview Lab → · Contrast checker → · Palette generator →

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