#9B986B#9B986B

#9B986B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.1% C 0.062 H 104.7°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9B986B
RGBrgb(155, 152, 107)
HSLhsl(56, 19%, 51%)
HSVhsv(56, 31%, 61%)
CMYKcmyk(0%, 1.9%, 31%, 39.2%)
CIE-LABlab(62.07, -6.22, 24.14)
CIE-LCHlch(62.07, 24.93, 104.45°)
OKLaboklab(67.08% -0.0158 0.0603)
OKLCHoklch(67.08% 0.062 104.7)
XYZxyz(27.3998, 30.4871, 18.3483)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B986B #6B6E9B
analogous
#9B806B #9B986B #869B6B
triadic
#9B986B #6B9B98 #986B9B
tetradic
#9B986B #6B9B80 #6B6E9B #9B6B86
square
#9B986B #6B9B80 #6B6E9B #9B6B86
split-complementary
#9B986B #6B869B #806B9B
monochromatic
#535238 #787551 #9B986B #B4B190 #CCCBB4

Accessibility & contrast

On white

2.96
#9B986B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9B986B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9B986B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B986B#FFFFFF#000000##000000
##9B986B1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09568
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#A2928C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9b986b;
/* rgb */ color: rgb(155, 152, 107);
/* oklch */ color: oklch(67.1% 0.062 104.7);
Tailwind
colors: {
  custom: {
    50: '#b9b695',
    500: '#9b986b',
    950: '#000000',
  },
}
SCSS
$custom: #9b986b;
$custom-light: #b9b695;
$custom-dark: #000000;
JSON
{
  "hex": "#9b986b",
  "rgb": {
    "r": 155,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 56.25,
    "s": 19.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67085,
    "c": 0.06233,
    "h": 104.7
  },
  "luminance": 0.30487
}

Semantic roles & 50–950 ramp

primary
#9B986B
secondary
#A6A8BB
accent
#71BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #9B986B

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

Preview Lab → · Contrast checker → · Palette generator →

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