#9B8D5D#9B8D5D

#9B8D5D is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.068 H 93.8°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B8D5D
RGBrgb(155, 141, 93)
HSLhsl(46, 25%, 49%)
HSVhsv(46, 40%, 61%)
CMYKcmyk(0%, 9%, 40%, 39.2%)
CIE-LABlab(58.80, -1.96, 27.51)
CIE-LCHlch(58.80, 27.58, 94.08°)
OKLaboklab(64.42% -0.0044 0.0677)
OKLCHoklch(64.42% 0.068 93.8)
XYZxyz(25.0188, 26.8095, 14.2107)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B8D5D #5D6B9B
analogous
#9B6E5D #9B8D5D #8A9B5D
triadic
#9B8D5D #5D9B8D #8D5D9B
tetradic
#9B8D5D #5D9B6E #5D6B9B #9B5D8A
square
#9B8D5D #5D9B6E #5D6B9B #9B5D8A
split-complementary
#9B8D5D #5D8A9B #6E5D9B
monochromatic
#4E472F #756A46 #9B8D5D #B4A881 #CBC3A8

Accessibility & contrast

On white

3.30
#9B8D5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9B8D5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B8D5D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B8D5D#FFFFFF#000000##000000
##9B8D5D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B59
Deuteranopia (green-blind)
#9A8F5F
Tritanopia (blue-blind)
#A48681
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9b8d5d;
/* rgb */ color: rgb(155, 141, 93);
/* oklch */ color: oklch(64.4% 0.068 93.8);
Tailwind
colors: {
  custom: {
    50: '#b9ae8b',
    500: '#9b8d5d',
    950: '#000000',
  },
}
SCSS
$custom: #9b8d5d;
$custom-light: #b9ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b8d5d",
  "rgb": {
    "r": 155,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 46.452,
    "s": 25,
    "l": 48.627
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.06784,
    "h": 93.8
  },
  "luminance": 0.26809
}

Semantic roles & 50–950 ramp

primary
#9B8D5D
secondary
#9BA2B9
accent
#7BC166
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9B8D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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