#9D9977#9D9977

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

Color values

HEX#9D9977
RGBrgb(157, 153, 119)
HSLhsl(54, 16%, 54%)
HSVhsv(54, 24%, 62%)
CMYKcmyk(0%, 2.5%, 24.2%, 38.4%)
CIE-LABlab(62.75, -4.27, 18.45)
CIE-LCHlch(62.75, 18.93, 103.03°)
OKLaboklab(67.73% -0.0099 0.0468)
OKLCHoklch(67.73% 0.048 102)
XYZxyz(28.6256, 31.2829, 21.9794)
Luminance0.3128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9977 #777B9D
analogous
#9D8677 #9D9977 #8E9D77
triadic
#9D9977 #779D99 #99779D
tetradic
#9D9977 #779D86 #777B9D #9D778E
square
#9D9977 #779D86 #777B9D #9D778E
split-complementary
#9D9977 #778E9D #86779D
monochromatic
#595740 #7D795A #9D9977 #B7B49B #D0CEBE

Accessibility & contrast

On white

2.89
#9D9977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#9D9977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9977
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9977#FFFFFF#000000##000000
##9D99771.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9775
Deuteranopia (green-blind)
#A19978
Tritanopia (blue-blind)
#A39490
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9977;
/* rgb */ color: rgb(157, 153, 119);
/* oklch */ color: oklch(67.7% 0.048 102.0);
Tailwind
colors: {
  custom: {
    50: '#bab79e',
    500: '#9d9977',
    950: '#000000',
  },
}
SCSS
$custom: #9d9977;
$custom-light: #bab79e;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9977",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 119
  },
  "hsl": {
    "h": 53.684,
    "s": 16.239,
    "l": 54.118
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.04788,
    "h": 102
  },
  "luminance": 0.31282
}

Semantic roles & 50–950 ramp

primary
#9D9977
secondary
#B0B2C0
accent
#77B96F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9977

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

Preview Lab → · Contrast checker → · Palette generator →

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