#8A846C#8A846C

#8A846C is a mid, muted yellow. Relative luminance 0.230; OKLCH L 61.2% C 0.035 H 95.6°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8A846C
RGBrgb(138, 132, 108)
HSLhsl(48, 12%, 48%)
HSVhsv(48, 22%, 54%)
CMYKcmyk(0%, 4.3%, 21.7%, 45.9%)
CIE-LABlab(55.06, -1.93, 13.79)
CIE-LCHlch(55.06, 13.93, 97.98°)
OKLaboklab(61.19% -0.0035 0.0353)
OKLCHoklch(61.19% 0.035 95.6)
XYZxyz(21.4392, 22.9889, 17.4924)
Luminance0.2299 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A846C #6C728A
analogous
#8A756C #8A846C #818A6C
triadic
#8A846C #6C8A84 #846C8A
tetradic
#8A846C #6C8A75 #6C728A #8A6C81
square
#8A846C #6C8A75 #6C728A #8A6C81
split-complementary
#8A846C #6C818A #756C8A
monochromatic
#454236 #686351 #8A846C #A6A18D #C1BDB0

Accessibility & contrast

On white

3.75
#8A846C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8A846C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A846C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A846C#FFFFFF#000000##000000
##8A846C1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89836B
Deuteranopia (green-blind)
#8B856D
Tritanopia (blue-blind)
#8F807D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8a846c;
/* rgb */ color: rgb(138, 132, 108);
/* oklch */ color: oklch(61.2% 0.035 95.6);
Tailwind
colors: {
  custom: {
    50: '#aca796',
    500: '#8a846c',
    950: '#000000',
  },
}
SCSS
$custom: #8a846c;
$custom-light: #aca796;
$custom-dark: #000000;
JSON
{
  "hex": "#8a846c",
  "rgb": {
    "r": 138,
    "g": 132,
    "b": 108
  },
  "hsl": {
    "h": 48,
    "s": 12.195,
    "l": 48.235
  },
  "oklch": {
    "l": 0.61193,
    "c": 0.03549,
    "h": 95.6
  },
  "luminance": 0.22989
}

Semantic roles & 50–950 ramp

primary
#8A846C
secondary
#A2A4B0
accent
#80B573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E

Preview Lab

Preview with #8A846C

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

Preview Lab → · Contrast checker → · Palette generator →

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