#9E987D#9E987D

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

Color values

HEX#9E987D
RGBrgb(158, 152, 125)
HSLhsl(49, 15%, 55%)
HSVhsv(49, 21%, 62%)
CMYKcmyk(0%, 3.8%, 20.9%, 38%)
CIE-LABlab(62.68, -2.42, 15.03)
CIE-LCHlch(62.68, 15.22, 99.15°)
OKLaboklab(67.75% -0.0046 0.0385)
OKLCHoklch(67.75% 0.039 96.9)
XYZxyz(29.0304, 31.2067, 23.8923)
Luminance0.3121 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E987D #7D839E
analogous
#9E877D #9E987D #939E7D
triadic
#9E987D #7D9E98 #987D9E
tetradic
#9E987D #7D9E87 #7D839E #9E7D93
square
#9E987D #7D9E87 #7D839E #9E7D93
split-complementary
#9E987D #7D939E #877D9E
monochromatic
#5C5845 #7F795F #9E987D #B8B4A0 #D2D0C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E987D#FFFFFF#000000##000000
##9E987D1.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)
#9E967B
Deuteranopia (green-blind)
#9F997E
Tritanopia (blue-blind)
#A39491
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9e987d;
/* rgb */ color: rgb(158, 152, 125);
/* oklch */ color: oklch(67.7% 0.039 96.9);
Tailwind
colors: {
  custom: {
    50: '#bbb6a2',
    500: '#9e987d',
    950: '#000000',
  },
}
SCSS
$custom: #9e987d;
$custom-light: #bbb6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e987d",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 125
  },
  "hsl": {
    "h": 49.091,
    "s": 14.537,
    "l": 55.49
  },
  "oklch": {
    "l": 0.67745,
    "c": 0.03878,
    "h": 96.9
  },
  "luminance": 0.31206
}

Semantic roles & 50–950 ramp

primary
#9E987D
secondary
#B5B7C2
accent
#7DB770
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9E987D

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

Preview Lab → · Contrast checker → · Palette generator →

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