#9C9E8A#9C9E8A

#9C9E8A is a light, muted yellow. Relative luminance 0.334; OKLCH L 69.2% C 0.029 H 111.8°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9C9E8A
RGBrgb(156, 158, 138)
HSLhsl(66, 9%, 58%)
HSVhsv(66, 13%, 62%)
CMYKcmyk(1.3%, 0%, 12.7%, 38%)
CIE-LABlab(64.45, -4.36, 10.22)
CIE-LCHlch(64.45, 11.11, 113.10°)
OKLaboklab(69.19% -0.0106 0.0265)
OKLCHoklch(69.19% 0.029 111.8)
XYZxyz(30.5241, 33.3568, 28.8703)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9E8A #8C8A9E
analogous
#9E968A #9C9E8A #929E8A
triadic
#9C9E8A #8A9C9E #9E8A9C
tetradic
#9C9E8A #8A9E96 #8C8A9E #9E8A92
square
#9C9E8A #8A9E96 #8C8A9E #9E8A92
split-complementary
#9C9E8A #8A929E #968A9E
monochromatic
#5D5F4F #7E806A #9C9E8A #B8BAAB #D5D5CD

Accessibility & contrast

On white

2.74
#9C9E8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9C9E8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9E8A
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9E8A#FFFFFF#000000##000000
##9C9E8A1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19C89
Deuteranopia (green-blind)
#A19D8B
Tritanopia (blue-blind)
#9F9B98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9c9e8a;
/* rgb */ color: rgb(156, 158, 138);
/* oklch */ color: oklch(69.2% 0.029 111.8);
Tailwind
colors: {
  custom: {
    50: '#b9baac',
    500: '#9c9e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9c9e8a;
$custom-light: #b9baac;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9e8a",
  "rgb": {
    "r": 156,
    "g": 158,
    "b": 138
  },
  "hsl": {
    "h": 66,
    "s": 9.346,
    "l": 58.039
  },
  "oklch": {
    "l": 0.69195,
    "c": 0.02852,
    "h": 111.8
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

primary
#9C9E8A
secondary
#BFBEC6
accent
#75B27C
background
#FBFBFA
surface
#F6F6F4
border
#D0D0CE
text
#111110
muted
#80807F

Preview Lab

Preview with #9C9E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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