#9F9873#9F9873

#9F9873 is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.052 H 98.6°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#9F9873
RGBrgb(159, 152, 115)
HSLhsl(50, 19%, 54%)
HSVhsv(50, 28%, 62%)
CMYKcmyk(0%, 4.4%, 27.7%, 37.6%)
CIE-LABlab(62.56, -3.50, 20.44)
CIE-LCHlch(62.56, 20.74, 99.71°)
OKLaboklab(67.61% -0.0078 0.0516)
OKLCHoklch(67.61% 0.052 98.6)
XYZxyz(28.6210, 31.0658, 20.7049)
Luminance0.3106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9873 #737A9F
analogous
#9F8273 #9F9873 #909F73
triadic
#9F9873 #739F98 #98739F
tetradic
#9F9873 #739F82 #737A9F #9F7390
square
#9F9873 #739F82 #737A9F #9F7390
split-complementary
#9F9873 #73909F #82739F
monochromatic
#5A553E #7E7857 #9F9873 #B8B397 #D1CDBC

Accessibility & contrast

On white

2.91
#9F9873 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#9F9873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9873
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9873#FFFFFF#000000##000000
##9F98731.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9671
Deuteranopia (green-blind)
#A19974
Tritanopia (blue-blind)
#A6938E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9f9873;
/* rgb */ color: rgb(159, 152, 115);
/* oklch */ color: oklch(67.6% 0.052 98.6);
Tailwind
colors: {
  custom: {
    50: '#bcb69b',
    500: '#9f9873',
    950: '#000000',
  },
}
SCSS
$custom: #9f9873;
$custom-light: #bcb69b;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9873",
  "rgb": {
    "r": 159,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 50.455,
    "s": 18.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.67605,
    "c": 0.05221,
    "h": 98.6
  },
  "luminance": 0.31065
}

Semantic roles & 50–950 ramp

primary
#9F9873
secondary
#ADB0C0
accent
#79BB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9F9873

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

Preview Lab → · Contrast checker → · Palette generator →

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