#9D9986#9D9986

#9D9986 is a light, muted yellow. Relative luminance 0.317; OKLCH L 68.1% C 0.027 H 97.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9D9986
RGBrgb(157, 153, 134)
HSLhsl(50, 11%, 57%)
HSVhsv(50, 15%, 62%)
CMYKcmyk(0%, 2.5%, 14.6%, 38.4%)
CIE-LABlab(63.07, -1.92, 10.52)
CIE-LCHlch(63.07, 10.69, 100.32°)
OKLaboklab(68.1% -0.0035 0.0273)
OKLCHoklch(68.1% 0.027 97.3)
XYZxyz(29.5986, 31.6721, 27.1037)
Luminance0.3167 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9986 #868A9D
analogous
#9D8E86 #9D9986 #969D86
triadic
#9D9986 #869D99 #99869D
tetradic
#9D9986 #869D8E #868A9D #9D8696
square
#9D9986 #869D8E #868A9D #9D8696
split-complementary
#9D9986 #86969D #8E869D
monochromatic
#5D5A4B #7F7B67 #9D9986 #B8B6A8 #D4D2CA

Accessibility & contrast

On white

2.86
#9D9986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#9D9986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9986
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9986#FFFFFF#000000##000000
##9D99861.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9986;
/* rgb */ color: rgb(157, 153, 134);
/* oklch */ color: oklch(68.1% 0.027 97.3);
Tailwind
colors: {
  custom: {
    50: '#bab7a9',
    500: '#9d9986',
    950: '#000000',
  },
}
SCSS
$custom: #9d9986;
$custom-light: #bab7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9986",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 134
  },
  "hsl": {
    "h": 49.565,
    "s": 10.502,
    "l": 57.059
  },
  "oklch": {
    "l": 0.68098,
    "c": 0.02748,
    "h": 97.3
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

primary
#9D9986
secondary
#BBBCC4
accent
#7FB374
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #9D9986

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

Preview Lab → · Contrast checker → · Palette generator →

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