#9D9874#9D9874

#9D9874 is a light, muted yellow. Relative luminance 0.309; OKLCH L 67.5% C 0.051 H 101.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D9874
RGBrgb(157, 152, 116)
HSLhsl(53, 17%, 54%)
HSVhsv(53, 26%, 62%)
CMYKcmyk(0%, 3.2%, 26.1%, 38.4%)
CIE-LABlab(62.41, -4.16, 19.65)
CIE-LCHlch(62.41, 20.09, 101.95°)
OKLaboklab(67.45% -0.0097 0.0497)
OKLCHoklch(67.45% 0.051 101)
XYZxyz(28.2853, 30.8860, 20.9912)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9874 #74799D
analogous
#9D8374 #9D9874 #8D9D74
triadic
#9D9874 #749D98 #98749D
tetradic
#9D9874 #749D83 #74799D #9D748D
square
#9D9874 #749D83 #74799D #9D748D
split-complementary
#9D9874 #748D9D #83749D
monochromatic
#58553E #7C7858 #9D9874 #B6B398 #D0CDBC

Accessibility & contrast

On white

2.93
#9D9874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#9D9874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9874
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9874#FFFFFF#000000##000000
##9D98741.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9672
Deuteranopia (green-blind)
#A19875
Tritanopia (blue-blind)
#A3938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9874;
/* rgb */ color: rgb(157, 152, 116);
/* oklch */ color: oklch(67.5% 0.051 101.0);
Tailwind
colors: {
  custom: {
    50: '#bab69c',
    500: '#9d9874',
    950: '#000000',
  },
}
SCSS
$custom: #9d9874;
$custom-light: #bab69c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9874",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 116
  },
  "hsl": {
    "h": 52.683,
    "s": 17.3,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6745,
    "c": 0.05066,
    "h": 101
  },
  "luminance": 0.30886
}

Semantic roles & 50–950 ramp

primary
#9D9874
secondary
#AEB0BF
accent
#77BA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110E
muted
#80807E

Preview Lab

Preview with #9D9874

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

Preview Lab → · Contrast checker → · Palette generator →

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