#9D9976#9D9976

#9D9976 is a light, muted yellow. Relative luminance 0.313; OKLCH L 67.7% C 0.049 H 102.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#9D9976
RGBrgb(157, 153, 118)
HSLhsl(54, 17%, 54%)
HSVhsv(54, 25%, 62%)
CMYKcmyk(0%, 2.5%, 24.8%, 38.4%)
CIE-LABlab(62.73, -4.42, 18.97)
CIE-LCHlch(62.73, 19.48, 103.10°)
OKLaboklab(67.71% -0.0104 0.0481)
OKLCHoklch(67.71% 0.049 102.2)
XYZxyz(28.5659, 31.2591, 21.6648)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9976 #767A9D
analogous
#9D8676 #9D9976 #8E9D76
triadic
#9D9976 #769D99 #99769D
tetradic
#9D9976 #769D86 #767A9D #9D768E
square
#9D9976 #769D86 #767A9D #9D768E
split-complementary
#9D9976 #768E9D #86769D
monochromatic
#595640 #7D7959 #9D9976 #B7B49A #D0CEBD

Accessibility & contrast

On white

2.90
#9D9976 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#9D9976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9976
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9976#FFFFFF#000000##000000
##9D99761.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09674
Deuteranopia (green-blind)
#A19977
Tritanopia (blue-blind)
#A39490
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9976;
/* rgb */ color: rgb(157, 153, 118);
/* oklch */ color: oklch(67.7% 0.049 102.2);
Tailwind
colors: {
  custom: {
    50: '#bab79d',
    500: '#9d9976',
    950: '#000000',
  },
}
SCSS
$custom: #9d9976;
$custom-light: #bab79d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9976",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 118
  },
  "hsl": {
    "h": 53.846,
    "s": 16.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.67712,
    "c": 0.04922,
    "h": 102.2
  },
  "luminance": 0.31259
}

Semantic roles & 50–950 ramp

primary
#9D9976
secondary
#AFB1C0
accent
#76B96E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9976

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

Preview Lab → · Contrast checker → · Palette generator →

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