#9B9874#9B9874

#9B9874 is a light, muted yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.051 H 103.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9B9874
RGBrgb(155, 152, 116)
HSLhsl(55, 16%, 53%)
HSVhsv(55, 25%, 61%)
CMYKcmyk(0%, 1.9%, 25.2%, 39.2%)
CIE-LABlab(62.24, -4.96, 19.40)
CIE-LCHlch(62.24, 20.02, 104.35°)
OKLaboklab(67.27% -0.012 0.0491)
OKLCHoklch(67.27% 0.051 103.7)
XYZxyz(27.8982, 30.6864, 20.9730)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9874 #74779B
analogous
#9B8474 #9B9874 #8A9B74
triadic
#9B9874 #749B98 #98749B
tetradic
#9B9874 #749B84 #74779B #9B748A
square
#9B9874 #749B84 #74779B #9B748A
split-complementary
#9B9874 #748A9B #84749B
monochromatic
#56553E #7A7758 #9B9874 #B5B298 #CECDBB

Accessibility & contrast

On white

2.94
#9B9874 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#9B9874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B9874
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9874#FFFFFF#000000##000000
##9B98741.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9572
Deuteranopia (green-blind)
#A09775
Tritanopia (blue-blind)
#A1938E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b9874;
/* rgb */ color: rgb(155, 152, 116);
/* oklch */ color: oklch(67.3% 0.051 103.7);
Tailwind
colors: {
  custom: {
    50: '#b9b69c',
    500: '#9b9874',
    950: '#000000',
  },
}
SCSS
$custom: #9b9874;
$custom-light: #b9b69c;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9874",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 116
  },
  "hsl": {
    "h": 55.385,
    "s": 16.318,
    "l": 53.137
  },
  "oklch": {
    "l": 0.67275,
    "c": 0.05055,
    "h": 103.7
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B9874

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

Preview Lab → · Contrast checker → · Palette generator →

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