#9E997A#9E997A

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

Color values

HEX#9E997A
RGBrgb(158, 153, 122)
HSLhsl(52, 16%, 55%)
HSVhsv(52, 23%, 62%)
CMYKcmyk(0%, 3.2%, 22.8%, 38%)
CIE-LABlab(62.89, -3.43, 16.99)
CIE-LCHlch(62.89, 17.33, 101.40°)
OKLaboklab(67.89% -0.0075 0.0433)
OKLCHoklch(67.89% 0.044 99.8)
XYZxyz(29.0046, 31.4572, 22.9525)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E997A #7A7F9E
analogous
#9E877A #9E997A #919E7A
triadic
#9E997A #7A9E99 #997A9E
tetradic
#9E997A #7A9E87 #7A7F9E #9E7A91
square
#9E997A #7A9E87 #7A7F9E #9E7A91
split-complementary
#9E997A #7A919E #877A9E
monochromatic
#5B5842 #7F7A5C #9E997A #B8B49D #D2CFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E997A#FFFFFF#000000##000000
##9E997A1.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)
#9F9778
Deuteranopia (green-blind)
#A1997B
Tritanopia (blue-blind)
#A49590
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e997a;
/* rgb */ color: rgb(158, 153, 122);
/* oklch */ color: oklch(67.9% 0.044 99.8);
Tailwind
colors: {
  custom: {
    50: '#bbb7a0',
    500: '#9e997a',
    950: '#000000',
  },
}
SCSS
$custom: #9e997a;
$custom-light: #bbb7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e997a",
  "rgb": {
    "r": 158,
    "g": 153,
    "b": 122
  },
  "hsl": {
    "h": 51.667,
    "s": 15.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6789,
    "c": 0.04397,
    "h": 99.8
  },
  "luminance": 0.31457
}

Semantic roles & 50–950 ramp

primary
#9E997A
secondary
#B2B4C1
accent
#7AB86F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9E997A

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

Preview Lab → · Contrast checker → · Palette generator →

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