#9D9873#9D9873

#9D9873 is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.052 H 101.2°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D9873
RGBrgb(157, 152, 115)
HSLhsl(53, 18%, 53%)
HSVhsv(53, 27%, 62%)
CMYKcmyk(0%, 3.2%, 26.8%, 38.4%)
CIE-LABlab(62.39, -4.30, 20.18)
CIE-LCHlch(62.39, 20.64, 102.04°)
OKLaboklab(67.43% -0.0101 0.051)
OKLCHoklch(67.43% 0.052 101.2)
XYZxyz(28.2275, 30.8629, 20.6865)
Luminance0.3086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9873 #73789D
analogous
#9D8373 #9D9873 #8D9D73
triadic
#9D9873 #739D98 #98739D
tetradic
#9D9873 #739D83 #73789D #9D738D
square
#9D9873 #739D83 #73789D #9D738D
split-complementary
#9D9873 #738D9D #83739D
monochromatic
#58553E #7C7857 #9D9873 #B6B297 #CFCDBB

Accessibility & contrast

On white

2.93
#9D9873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9D9873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9873
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9873#FFFFFF#000000##000000
##9D98731.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9571
Deuteranopia (green-blind)
#A19874
Tritanopia (blue-blind)
#A3938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9873;
/* rgb */ color: rgb(157, 152, 115);
/* oklch */ color: oklch(67.4% 0.052 101.2);
Tailwind
colors: {
  custom: {
    50: '#bab69b',
    500: '#9d9873',
    950: '#000000',
  },
}
SCSS
$custom: #9d9873;
$custom-light: #bab69b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9873",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 52.857,
    "s": 17.647,
    "l": 53.333
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.05198,
    "h": 101.2
  },
  "luminance": 0.30862
}

Semantic roles & 50–950 ramp

primary
#9D9873
secondary
#ADAFBF
accent
#77BA6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9873

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

Preview Lab → · Contrast checker → · Palette generator →

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