#8E8A78#8E8A78

#8E8A78 is a light, muted yellow. Relative luminance 0.253; OKLCH L 63.2% C 0.027 H 96.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#8E8A78
RGBrgb(142, 138, 120)
HSLhsl(49, 9%, 51%)
HSVhsv(49, 15%, 56%)
CMYKcmyk(0%, 2.8%, 15.5%, 44.3%)
CIE-LABlab(57.35, -1.76, 10.18)
CIE-LCHlch(57.35, 10.33, 99.78°)
OKLaboklab(63.17% -0.0031 0.0264)
OKLCHoklch(63.17% 0.027 96.8)
XYZxyz(23.6337, 25.2841, 21.4010)
Luminance0.2528 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A78 #787C8E
analogous
#8E7F78 #8E8A78 #878E78
triadic
#8E8A78 #788E8A #8A788E
tetradic
#8E8A78 #788E7F #787C8E #8E7887
square
#8E8A78 #788E7F #787C8E #8E7887
split-complementary
#8E8A78 #78878E #7F788E
monochromatic
#4C4A40 #6D6A5B #8E8A78 #AAA799 #C6C4BB

Accessibility & contrast

On white

3.47
#8E8A78 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#8E8A78 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A78
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A78#FFFFFF#000000##000000
##8E8A781.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8977
Deuteranopia (green-blind)
#8F8A79
Tritanopia (blue-blind)
#928785
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8a78;
/* rgb */ color: rgb(142, 138, 120);
/* oklch */ color: oklch(63.2% 0.027 96.8);
Tailwind
colors: {
  custom: {
    50: '#afac9f',
    500: '#8e8a78',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a78;
$custom-light: #afac9f;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a78",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 120
  },
  "hsl": {
    "h": 49.091,
    "s": 8.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.63173,
    "c": 0.02654,
    "h": 96.8
  },
  "luminance": 0.25284
}

Semantic roles & 50–950 ramp

primary
#8E8A78
secondary
#ACAEB6
accent
#81B276
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8E8A78

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

Preview Lab → · Contrast checker → · Palette generator →

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