#9D9974#9D9974

#9D9974 is a light, muted yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.052 H 102.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9D9974
RGBrgb(157, 153, 116)
HSLhsl(54, 17%, 54%)
HSVhsv(54, 26%, 62%)
CMYKcmyk(0%, 2.5%, 26.1%, 38.4%)
CIE-LABlab(62.69, -4.71, 20.03)
CIE-LCHlch(62.69, 20.57, 103.22°)
OKLaboklab(67.67% -0.0112 0.0506)
OKLCHoklch(67.67% 0.052 102.5)
XYZxyz(28.4483, 31.2120, 21.0455)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9974 #74789D
analogous
#9D8474 #9D9974 #8C9D74
triadic
#9D9974 #749D99 #99749D
tetradic
#9D9974 #749D84 #74789D #9D748C
square
#9D9974 #749D84 #74789D #9D748C
split-complementary
#9D9974 #748C9D #84749D
monochromatic
#58563E #7C7958 #9D9974 #B6B398 #D0CEBC

Accessibility & contrast

On white

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

On black

7.24
#9D9974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9974
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9974#FFFFFF#000000##000000
##9D99741.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09672
Deuteranopia (green-blind)
#A19975
Tritanopia (blue-blind)
#A3948F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9974;
/* rgb */ color: rgb(157, 153, 116);
/* oklch */ color: oklch(67.7% 0.052 102.5);
Tailwind
colors: {
  custom: {
    50: '#bab79c',
    500: '#9d9974',
    950: '#000000',
  },
}
SCSS
$custom: #9d9974;
$custom-light: #bab79c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9974",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 116
  },
  "hsl": {
    "h": 54.146,
    "s": 17.3,
    "l": 53.529
  },
  "oklch": {
    "l": 0.67667,
    "c": 0.05187,
    "h": 102.5
  },
  "luminance": 0.31212
}

Semantic roles & 50–950 ramp

primary
#9D9974
secondary
#AEAFBF
accent
#75BA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9974

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

Preview Lab → · Contrast checker → · Palette generator →

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