#8A896C#8A896C

#8A896C is a light, muted yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.042 H 105.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8A896C
RGBrgb(138, 137, 108)
HSLhsl(58, 12%, 48%)
HSVhsv(58, 22%, 54%)
CMYKcmyk(0%, 0.7%, 21.7%, 45.9%)
CIE-LABlab(56.46, -4.73, 15.74)
CIE-LCHlch(56.46, 16.43, 106.73°)
OKLaboklab(62.3% -0.0114 0.0401)
OKLCHoklch(62.3% 0.042 105.9)
XYZxyz(22.1336, 24.3776, 17.7238)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A896C #6C6D8A
analogous
#8A7A6C #8A896C #7C8A6C
triadic
#8A896C #6C8A89 #896C8A
tetradic
#8A896C #6C8A7A #6C6D8A #8A6C7C
square
#8A896C #6C8A7A #6C6D8A #8A6C7C
split-complementary
#8A896C #6C7C8A #7A6C8A
monochromatic
#454536 #686751 #8A896C #A6A58D #C1C0B0

Accessibility & contrast

On white

3.57
#8A896C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8A896C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A896C
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A896C#FFFFFF#000000##000000
##8A896C1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E876A
Deuteranopia (green-blind)
#8F886D
Tritanopia (blue-blind)
#8F8581
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a896c;
/* rgb */ color: rgb(138, 137, 108);
/* oklch */ color: oklch(62.3% 0.042 105.9);
Tailwind
colors: {
  custom: {
    50: '#acab96',
    500: '#8a896c',
    950: '#000000',
  },
}
SCSS
$custom: #8a896c;
$custom-light: #acab96;
$custom-dark: #000000;
JSON
{
  "hex": "#8a896c",
  "rgb": {
    "r": 138,
    "g": 137,
    "b": 108
  },
  "hsl": {
    "h": 58,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.62301,
    "c": 0.0417,
    "h": 105.9
  },
  "luminance": 0.24377
}

Semantic roles & 50–950 ramp

primary
#8A896C
secondary
#A2A2B0
accent
#75B573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A896C

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

Preview Lab → · Contrast checker → · Palette generator →

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