#9A9986#9A9986

#9A9986 is a light, muted yellow. Relative luminance 0.314; OKLCH L 67.8% C 0.027 H 104.6°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9A9986
RGBrgb(154, 153, 134)
HSLhsl(57, 9%, 56%)
HSVhsv(57, 13%, 60%)
CMYKcmyk(0%, 0.6%, 13%, 39.6%)
CIE-LABlab(62.82, -3.06, 10.13)
CIE-LCHlch(62.82, 10.58, 106.83°)
OKLaboklab(67.84% -0.0069 0.0263)
OKLCHoklch(67.84% 0.027 104.6)
XYZxyz(29.0203, 31.3740, 27.0766)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9986 #86879A
analogous
#9A8F86 #9A9986 #919A86
triadic
#9A9986 #869A99 #99869A
tetradic
#9A9986 #869A8F #86879A #9A8691
square
#9A9986 #869A8F #86879A #9A8691
split-complementary
#9A9986 #86919A #8F869A
monochromatic
#5A5A4B #7C7B67 #9A9986 #B6B5A7 #D2D1C9

Accessibility & contrast

On white

2.89
#9A9986 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#9A9986 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9986
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9986#FFFFFF#000000##000000
##9A99861.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9a9986;
/* rgb */ color: rgb(154, 153, 134);
/* oklch */ color: oklch(67.8% 0.027 104.6);
Tailwind
colors: {
  custom: {
    50: '#b7b7a9',
    500: '#9a9986',
    950: '#000000',
  },
}
SCSS
$custom: #9a9986;
$custom-light: #b7b7a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9986",
  "rgb": {
    "r": 154,
    "g": 153,
    "b": 134
  },
  "hsl": {
    "h": 57,
    "s": 9.009,
    "l": 56.471
  },
  "oklch": {
    "l": 0.67841,
    "c": 0.02715,
    "h": 104.6
  },
  "luminance": 0.31374
}

Semantic roles & 50–950 ramp

primary
#9A9986
secondary
#BABAC2
accent
#79B276
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#11110F
muted
#80807F

Preview Lab

Preview with #9A9986

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

Preview Lab → · Contrast checker → · Palette generator →

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