#9C9986#9C9986

#9C9986 is a light, muted yellow. Relative luminance 0.316; OKLCH L 68.0% C 0.027 H 99.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9C9986
RGBrgb(156, 153, 134)
HSLhsl(52, 10%, 57%)
HSVhsv(52, 14%, 61%)
CMYKcmyk(0%, 1.9%, 14.1%, 38.8%)
CIE-LABlab(62.99, -2.30, 10.39)
CIE-LCHlch(62.99, 10.64, 102.48°)
OKLaboklab(68.01% -0.0046 0.0269)
OKLCHoklch(68.01% 0.027 99.7)
XYZxyz(29.4042, 31.5719, 27.0946)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9986 #86899C
analogous
#9C8E86 #9C9986 #949C86
triadic
#9C9986 #869C99 #99869C
tetradic
#9C9986 #869C8E #86899C #9C8694
square
#9C9986 #869C8E #86899C #9C8694
split-complementary
#9C9986 #86949C #8E869C
monochromatic
#5C5A4B #7E7B67 #9C9986 #B8B5A8 #D3D2C9

Accessibility & contrast

On white

2.87
#9C9986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#9C9986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9986
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9986#FFFFFF#000000##000000
##9C99861.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9885
Deuteranopia (green-blind)
#9E9987
Tritanopia (blue-blind)
#A09694
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9c9986;
/* rgb */ color: rgb(156, 153, 134);
/* oklch */ color: oklch(68.0% 0.027 99.7);
Tailwind
colors: {
  custom: {
    50: '#b9b7a9',
    500: '#9c9986',
    950: '#000000',
  },
}
SCSS
$custom: #9c9986;
$custom-light: #b9b7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9986",
  "rgb": {
    "r": 156,
    "g": 153,
    "b": 134
  },
  "hsl": {
    "h": 51.818,
    "s": 10,
    "l": 56.863
  },
  "oklch": {
    "l": 0.68012,
    "c": 0.02731,
    "h": 99.7
  },
  "luminance": 0.31572
}

Semantic roles & 50–950 ramp

primary
#9C9986
secondary
#BABCC3
accent
#7DB375
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #9C9986

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

Preview Lab → · Contrast checker → · Palette generator →

#9C9986 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva