#9B8D56#9B8D56

#9B8D56 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.076 H 95.5°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B8D56
RGBrgb(155, 141, 86)
HSLhsl(48, 29%, 47%)
HSVhsv(48, 45%, 61%)
CMYKcmyk(0%, 9%, 44.5%, 39.2%)
CIE-LABlab(58.69, -2.76, 31.18)
CIE-LCHlch(58.69, 31.30, 95.05°)
OKLaboklab(64.29% -0.0073 0.0757)
OKLCHoklch(64.29% 0.076 95.5)
XYZxyz(24.7228, 26.6911, 12.6519)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D56 #56649B
analogous
#9B6A56 #9B8D56 #879B56
triadic
#9B8D56 #569B8D #8D569B
tetradic
#9B8D56 #569B6A #56649B #9B5687
square
#9B8D56 #569B6A #56649B #9B5687
split-complementary
#9B8D56 #56879B #6A569B
monochromatic
#4C452A #746940 #9B8D56 #B5A979 #CBC2A1

Accessibility & contrast

On white

3.31
#9B8D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9B8D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D56
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D56#FFFFFF#000000##000000
##9B8D561.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B52
Deuteranopia (green-blind)
#9B8F58
Tritanopia (blue-blind)
#A5857F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8d56;
/* rgb */ color: rgb(155, 141, 86);
/* oklch */ color: oklch(64.3% 0.076 95.5);
Tailwind
colors: {
  custom: {
    50: '#baae86',
    500: '#9b8d56',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d56;
$custom-light: #baae86;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d56",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 47.826,
    "s": 28.631,
    "l": 47.255
  },
  "oklch": {
    "l": 0.64293,
    "c": 0.07607,
    "h": 95.5
  },
  "luminance": 0.2669
}

Semantic roles & 50–950 ramp

primary
#9B8D56
secondary
#959CB8
accent
#77C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9B8D56

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

Preview Lab → · Contrast checker → · Palette generator →

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