#9D9474#9D9474

#9D9474 is a light, muted yellow. Relative luminance 0.296; OKLCH L 66.6% C 0.046 H 94.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9D9474
RGBrgb(157, 148, 116)
HSLhsl(47, 17%, 54%)
HSVhsv(47, 26%, 62%)
CMYKcmyk(0%, 5.7%, 26.1%, 38.4%)
CIE-LABlab(61.32, -1.97, 18.16)
CIE-LCHlch(61.32, 18.26, 96.19°)
OKLaboklab(66.59% -0.0034 0.0461)
OKLCHoklch(66.59% 0.046 94.2)
XYZxyz(27.6470, 29.6095, 20.7784)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9474 #747D9D
analogous
#9D7F74 #9D9474 #919D74
triadic
#9D9474 #749D94 #94749D
tetradic
#9D9474 #749D7F #747D9D #9D7491
square
#9D9474 #749D7F #747D9D #9D7491
split-complementary
#9D9474 #74919D #7F749D
monochromatic
#58533E #7C7458 #9D9474 #B6B098 #D0CBBC

Accessibility & contrast

On white

3.03
#9D9474 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#9D9474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9474
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9474#FFFFFF#000000##000000
##9D94741.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B9272
Deuteranopia (green-blind)
#9D9575
Tritanopia (blue-blind)
#A48F8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #9d9474;
/* rgb */ color: rgb(157, 148, 116);
/* oklch */ color: oklch(66.6% 0.046 94.2);
Tailwind
colors: {
  custom: {
    50: '#bab39c',
    500: '#9d9474',
    950: '#000000',
  },
}
SCSS
$custom: #9d9474;
$custom-light: #bab39c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9474",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 116
  },
  "hsl": {
    "h": 46.829,
    "s": 17.3,
    "l": 53.529
  },
  "oklch": {
    "l": 0.66585,
    "c": 0.04623,
    "h": 94.2
  },
  "luminance": 0.29609
}

Semantic roles & 50–950 ramp

primary
#9D9474
secondary
#AEB1BF
accent
#7FBA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9474

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

Preview Lab → · Contrast checker → · Palette generator →

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