#9B977E#9B977E

#9B977E is a light, muted yellow. Relative luminance 0.306; OKLCH L 67.3% C 0.036 H 99.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#9B977E
RGBrgb(155, 151, 126)
HSLhsl(52, 13%, 55%)
HSVhsv(52, 19%, 61%)
CMYKcmyk(0%, 2.6%, 18.7%, 39.2%)
CIE-LABlab(62.18, -2.89, 13.72)
CIE-LCHlch(62.18, 14.02, 101.90°)
OKLaboklab(67.29% -0.0061 0.0353)
OKLCHoklch(67.29% 0.036 99.8)
XYZxyz(28.3499, 30.6085, 24.1492)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B977E #7E829B
analogous
#9B887E #9B977E #919B7E
triadic
#9B977E #7E9B97 #977E9B
tetradic
#9B977E #7E9B88 #7E829B #9B7E91
square
#9B977E #7E9B88 #7E829B #9B7E91
split-complementary
#9B977E #7E919B #887E9B
monochromatic
#595745 #7C7860 #9B977E #B6B3A0 #D0CFC3

Accessibility & contrast

On white

2.95
#9B977E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#9B977E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B977E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B977E#FFFFFF#000000##000000
##9B977E1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C957D
Deuteranopia (green-blind)
#9D977F
Tritanopia (blue-blind)
#A09390
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b977e;
/* rgb */ color: rgb(155, 151, 126);
/* oklch */ color: oklch(67.3% 0.036 99.8);
Tailwind
colors: {
  custom: {
    50: '#b8b5a3',
    500: '#9b977e',
    950: '#000000',
  },
}
SCSS
$custom: #9b977e;
$custom-light: #b8b5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b977e",
  "rgb": {
    "r": 155,
    "g": 151,
    "b": 126
  },
  "hsl": {
    "h": 51.724,
    "s": 12.664,
    "l": 55.098
  },
  "oklch": {
    "l": 0.67291,
    "c": 0.03579,
    "h": 99.8
  },
  "luminance": 0.30608
}

Semantic roles & 50–950 ramp

primary
#9B977E
secondary
#B4B6C0
accent
#7CB672
background
#FBFBFA
surface
#F6F6F3
border
#D0D0CD
text
#11110F
muted
#80807F

Preview Lab

Preview with #9B977E

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

Preview Lab → · Contrast checker → · Palette generator →

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