#9B9974#9B9974

#9B9974 is a light, muted yellow. Relative luminance 0.310; OKLCH L 67.5% C 0.052 H 105.1°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#9B9974
RGBrgb(155, 153, 116)
HSLhsl(57, 16%, 53%)
HSVhsv(57, 25%, 61%)
CMYKcmyk(0%, 1.3%, 25.2%, 39.2%)
CIE-LABlab(62.52, -5.51, 19.77)
CIE-LCHlch(62.52, 20.52, 105.56°)
OKLaboklab(67.49% -0.0135 0.05)
OKLCHoklch(67.49% 0.052 105.1)
XYZxyz(28.0612, 31.0124, 21.0274)
Luminance0.3101 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9974 #74769B
analogous
#9B8574 #9B9974 #899B74
triadic
#9B9974 #749B99 #99749B
tetradic
#9B9974 #749B85 #74769B #9B7489
square
#9B9974 #749B85 #74769B #9B7489
split-complementary
#9B9974 #74899B #85749B
monochromatic
#56553E #7A7858 #9B9974 #B5B398 #CECDBB

Accessibility & contrast

On white

2.92
#9B9974 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#9B9974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9974
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9974#FFFFFF#000000##000000
##9B99741.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09672
Deuteranopia (green-blind)
#A19875
Tritanopia (blue-blind)
#A1948F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9b9974;
/* rgb */ color: rgb(155, 153, 116);
/* oklch */ color: oklch(67.5% 0.052 105.1);
Tailwind
colors: {
  custom: {
    50: '#b9b79c',
    500: '#9b9974',
    950: '#000000',
  },
}
SCSS
$custom: #9b9974;
$custom-light: #b9b79c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9974",
  "rgb": {
    "r": 155,
    "g": 153,
    "b": 116
  },
  "hsl": {
    "h": 56.923,
    "s": 16.318,
    "l": 53.137
  },
  "oklch": {
    "l": 0.67493,
    "c": 0.05181,
    "h": 105.1
  },
  "luminance": 0.31012
}

Semantic roles & 50–950 ramp

primary
#9B9974
secondary
#ADAEBE
accent
#73B96F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9B9974

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

Preview Lab → · Contrast checker → · Palette generator →

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