#8E8A74#8E8A74

#8E8A74 is a light, muted yellow. Relative luminance 0.252; OKLCH L 63.1% C 0.032 H 98.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E8A74
RGBrgb(142, 138, 116)
HSLhsl(51, 10%, 51%)
HSVhsv(51, 18%, 56%)
CMYKcmyk(0%, 2.8%, 18.3%, 44.3%)
CIE-LABlab(57.26, -2.42, 12.34)
CIE-LCHlch(57.26, 12.57, 101.08°)
OKLaboklab(63.07% -0.0049 0.0318)
OKLCHoklch(63.07% 0.032 98.7)
XYZxyz(23.3960, 25.1890, 20.1491)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8A74 #74788E
analogous
#8E7D74 #8E8A74 #858E74
triadic
#8E8A74 #748E8A #8A748E
tetradic
#8E8A74 #748E7D #74788E #8E7485
square
#8E8A74 #748E7D #74788E #8E7485
split-complementary
#8E8A74 #74858E #7D748E
monochromatic
#4B493D #6D6958 #8E8A74 #A9A696 #C5C3B8

Accessibility & contrast

On white

3.48
#8E8A74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8E8A74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8A74
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8A74#FFFFFF#000000##000000
##8E8A741.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8873
Deuteranopia (green-blind)
#908A75
Tritanopia (blue-blind)
#928784
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8a74;
/* rgb */ color: rgb(142, 138, 116);
/* oklch */ color: oklch(63.1% 0.032 98.7);
Tailwind
colors: {
  custom: {
    50: '#afac9c',
    500: '#8e8a74',
    950: '#000000',
  },
}
SCSS
$custom: #8e8a74;
$custom-light: #afac9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8a74",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 116
  },
  "hsl": {
    "h": 50.769,
    "s": 10.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6307,
    "c": 0.03212,
    "h": 98.7
  },
  "luminance": 0.25189
}

Semantic roles & 50–950 ramp

primary
#8E8A74
secondary
#A9ABB5
accent
#7EB375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8E8A74

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

Preview Lab → · Contrast checker → · Palette generator →

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