#9B9986#9B9986

#9B9986 is a light, muted yellow. Relative luminance 0.315; OKLCH L 67.9% C 0.027 H 102.2°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9B9986
RGBrgb(155, 153, 134)
HSLhsl(54, 10%, 57%)
HSVhsv(54, 14%, 61%)
CMYKcmyk(0%, 1.3%, 13.5%, 39.2%)
CIE-LABlab(62.90, -2.68, 10.26)
CIE-LCHlch(62.90, 10.60, 104.65°)
OKLaboklab(67.93% -0.0057 0.0266)
OKLCHoklch(67.93% 0.027 102.2)
XYZxyz(29.2115, 31.4725, 27.0856)
Luminance0.3147 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9986 #86889B
analogous
#9B8F86 #9B9986 #939B86
triadic
#9B9986 #869B99 #99869B
tetradic
#9B9986 #869B8F #86889B #9B8693
square
#9B9986 #869B8F #86889B #9B8693
split-complementary
#9B9986 #86939B #8F869B
monochromatic
#5B5A4B #7D7B67 #9B9986 #B7B5A8 #D2D1C9

Accessibility & contrast

On white

2.88
#9B9986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9B9986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9986
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9986#FFFFFF#000000##000000
##9B99861.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b9986;
/* rgb */ color: rgb(155, 153, 134);
/* oklch */ color: oklch(67.9% 0.027 102.2);
Tailwind
colors: {
  custom: {
    50: '#b8b7a9',
    500: '#9b9986',
    950: '#000000',
  },
}
SCSS
$custom: #9b9986;
$custom-light: #b8b7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9986",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 134
  },
  "hsl": {
    "h": 54.286,
    "s": 9.502,
    "l": 56.667
  },
  "oklch": {
    "l": 0.67926,
    "c": 0.0272,
    "h": 102.2
  },
  "luminance": 0.31472
}

Semantic roles & 50–950 ramp

primary
#9B9986
secondary
#BABBC3
accent
#7BB275
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #9B9986

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

Preview Lab → · Contrast checker → · Palette generator →

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