#9E9873#9E9873

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

Color values

HEX#9E9873
RGBrgb(158, 152, 115)
HSLhsl(52, 18%, 54%)
HSVhsv(52, 27%, 62%)
CMYKcmyk(0%, 3.8%, 27.2%, 38%)
CIE-LABlab(62.48, -3.90, 20.31)
CIE-LCHlch(62.48, 20.68, 100.87°)
OKLaboklab(67.52% -0.009 0.0513)
OKLCHoklch(67.52% 0.052 99.9)
XYZxyz(28.4234, 30.9639, 20.6957)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E9873 #73799E
analogous
#9E8273 #9E9873 #8E9E73
triadic
#9E9873 #739E98 #98739E
tetradic
#9E9873 #739E82 #73799E #9E738E
square
#9E9873 #739E82 #73799E #9E738E
split-complementary
#9E9873 #738E9E #82739E
monochromatic
#59553E #7D7857 #9E9873 #B7B397 #D0CDBB

Accessibility & contrast

On white

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

On black

7.19
#9E9873 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E9873
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E9873#FFFFFF#000000##000000
##9E98731.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9e9873;
/* rgb */ color: rgb(158, 152, 115);
/* oklch */ color: oklch(67.5% 0.052 99.9);
Tailwind
colors: {
  custom: {
    50: '#bbb69b',
    500: '#9e9873',
    950: '#000000',
  },
}
SCSS
$custom: #9e9873;
$custom-light: #bbb69b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e9873",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 51.628,
    "s": 18.143,
    "l": 53.529
  },
  "oklch": {
    "l": 0.67516,
    "c": 0.05209,
    "h": 99.9
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E9873

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

Preview Lab → · Contrast checker → · Palette generator →

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