#9E987A#9E987A

#9E987A is a light, muted yellow. Relative luminance 0.311; OKLCH L 67.7% C 0.043 H 98.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#9E987A
RGBrgb(158, 152, 122)
HSLhsl(50, 16%, 55%)
HSVhsv(50, 23%, 62%)
CMYKcmyk(0%, 3.8%, 22.8%, 38%)
CIE-LABlab(62.62, -2.88, 16.61)
CIE-LCHlch(62.62, 16.86, 99.83°)
OKLaboklab(67.67% -0.006 0.0424)
OKLCHoklch(67.67% 0.043 98)
XYZxyz(28.8416, 31.1312, 22.8982)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E987A #7A809E
analogous
#9E867A #9E987A #929E7A
triadic
#9E987A #7A9E98 #987A9E
tetradic
#9E987A #7A9E86 #7A809E #9E7A92
square
#9E987A #7A9E86 #7A809E #9E7A92
split-complementary
#9E987A #7A929E #867A9E
monochromatic
#5B5742 #7F795C #9E987A #B8B39D #D2CFC1

Accessibility & contrast

On white

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

On black

7.23
#9E987A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E987A
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E987A#FFFFFF#000000##000000
##9E987A1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9678
Deuteranopia (green-blind)
#A0987B
Tritanopia (blue-blind)
#A49490
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9e987a;
/* rgb */ color: rgb(158, 152, 122);
/* oklch */ color: oklch(67.7% 0.043 98.0);
Tailwind
colors: {
  custom: {
    50: '#bbb6a0',
    500: '#9e987a',
    950: '#000000',
  },
}
SCSS
$custom: #9e987a;
$custom-light: #bbb6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e987a",
  "rgb": {
    "r": 158,
    "g": 152,
    "b": 122
  },
  "hsl": {
    "h": 50,
    "s": 15.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.67674,
    "c": 0.04281,
    "h": 98
  },
  "luminance": 0.31131
}

Semantic roles & 50–950 ramp

primary
#9E987A
secondary
#B2B5C1
accent
#7CB86F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110E
muted
#81807E

Preview Lab

Preview with #9E987A

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

Preview Lab → · Contrast checker → · Palette generator →

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