#9D9972#9D9972

#9D9972 is a light, muted yellow. Relative luminance 0.312; OKLCH L 67.6% C 0.055 H 102.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9D9972
RGBrgb(157, 153, 114)
HSLhsl(54, 18%, 53%)
HSVhsv(54, 27%, 62%)
CMYKcmyk(0%, 2.5%, 27.4%, 38.4%)
CIE-LABlab(62.65, -4.99, 21.08)
CIE-LCHlch(62.65, 21.67, 103.32°)
OKLaboklab(67.62% -0.0121 0.0532)
OKLCHoklch(67.62% 0.055 102.8)
XYZxyz(28.3332, 31.1660, 20.4394)
Luminance0.3116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9972 #72769D
analogous
#9D8372 #9D9972 #8B9D72
triadic
#9D9972 #729D99 #99729D
tetradic
#9D9972 #729D83 #72769D #9D728B
square
#9D9972 #729D83 #72769D #9D728B
split-complementary
#9D9972 #728B9D #83729D
monochromatic
#58553D #7C7856 #9D9972 #B6B396 #CFCDBA

Accessibility & contrast

On white

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

On black

7.23
#9D9972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9972
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9972#FFFFFF#000000##000000
##9D99721.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0966F
Deuteranopia (green-blind)
#A29973
Tritanopia (blue-blind)
#A4948F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9972;
/* rgb */ color: rgb(157, 153, 114);
/* oklch */ color: oklch(67.6% 0.055 102.8);
Tailwind
colors: {
  custom: {
    50: '#bab79a',
    500: '#9d9972',
    950: '#000000',
  },
}
SCSS
$custom: #9d9972;
$custom-light: #bab79a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9972",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 114
  },
  "hsl": {
    "h": 54.419,
    "s": 17.992,
    "l": 53.137
  },
  "oklch": {
    "l": 0.67624,
    "c": 0.05451,
    "h": 102.8
  },
  "luminance": 0.31165
}

Semantic roles & 50–950 ramp

primary
#9D9972
secondary
#ACAEBF
accent
#74BB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9972

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

Preview Lab → · Contrast checker → · Palette generator →

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