#9E987C#9E987C

#9E987C is a light, muted yellow. Relative luminance 0.312; OKLCH L 67.7% C 0.040 H 97.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9E987C
RGBrgb(158, 152, 124)
HSLhsl(49, 15%, 55%)
HSVhsv(49, 22%, 62%)
CMYKcmyk(0%, 3.8%, 21.5%, 38%)
CIE-LABlab(62.66, -2.57, 15.56)
CIE-LCHlch(62.66, 15.77, 99.40°)
OKLaboklab(67.72% -0.0051 0.0398)
OKLCHoklch(67.72% 0.04 97.3)
XYZxyz(28.9668, 31.1813, 23.5575)
Luminance0.3118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E987C #7C829E
analogous
#9E877C #9E987C #939E7C
triadic
#9E987C #7C9E98 #987C9E
tetradic
#9E987C #7C9E87 #7C829E #9E7C93
square
#9E987C #7C9E87 #7C829E #9E7C93
split-complementary
#9E987C #7C939E #877C9E
monochromatic
#5C5744 #7F795E #9E987C #B8B49F #D2CFC2

Accessibility & contrast

On white

2.90
#9E987C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9E987C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E987C
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E987C#FFFFFF#000000##000000
##9E987C1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E967A
Deuteranopia (green-blind)
#A0997D
Tritanopia (blue-blind)
#A49490
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e987c;
/* rgb */ color: rgb(158, 152, 124);
/* oklch */ color: oklch(67.7% 0.040 97.3);
Tailwind
colors: {
  custom: {
    50: '#bbb6a2',
    500: '#9e987c',
    950: '#000000',
  },
}
SCSS
$custom: #9e987c;
$custom-light: #bbb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e987c",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 124
  },
  "hsl": {
    "h": 49.412,
    "s": 14.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.67721,
    "c": 0.04012,
    "h": 97.3
  },
  "luminance": 0.31181
}

Semantic roles & 50–950 ramp

primary
#9E987C
secondary
#B4B6C2
accent
#7DB870
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110F
muted
#80807E

Preview Lab

Preview with #9E987C

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

Preview Lab → · Contrast checker → · Palette generator →

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