#9E997D#9E997D

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

Color values

HEX#9E997D
RGBrgb(158, 153, 125)
HSLhsl(51, 15%, 55%)
HSVhsv(51, 21%, 62%)
CMYKcmyk(0%, 3.2%, 20.9%, 38%)
CIE-LABlab(62.95, -2.97, 15.41)
CIE-LCHlch(62.95, 15.69, 100.91°)
OKLaboklab(67.96% -0.0062 0.0394)
OKLCHoklch(67.96% 0.04 98.9)
XYZxyz(29.1933, 31.5327, 23.9466)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E997D #7D829E
analogous
#9E887D #9E997D #929E7D
triadic
#9E997D #7D9E99 #997D9E
tetradic
#9E997D #7D9E88 #7D829E #9E7D92
square
#9E997D #7D9E88 #7D829E #9E7D92
split-complementary
#9E997D #7D929E #887D9E
monochromatic
#5C5845 #7F7A5F #9E997D #B8B4A0 #D2D0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E997D#FFFFFF#000000##000000
##9E997D1.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)
#9F977B
Deuteranopia (green-blind)
#A0997E
Tritanopia (blue-blind)
#A39591
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e997d;
/* rgb */ color: rgb(158, 153, 125);
/* oklch */ color: oklch(68.0% 0.040 98.9);
Tailwind
colors: {
  custom: {
    50: '#bbb7a2',
    500: '#9e997d',
    950: '#000000',
  },
}
SCSS
$custom: #9e997d;
$custom-light: #bbb7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e997d",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 125
  },
  "hsl": {
    "h": 50.909,
    "s": 14.537,
    "l": 55.49
  },
  "oklch": {
    "l": 0.67961,
    "c": 0.03993,
    "h": 98.9
  },
  "luminance": 0.31532
}

Semantic roles & 50–950 ramp

primary
#9E997D
secondary
#B5B7C2
accent
#7BB770
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9E997D

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

Preview Lab → · Contrast checker → · Palette generator →

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