#9C8D5D#9C8D5D

#9C8D5D is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.5% C 0.068 H 92.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9C8D5D
RGBrgb(156, 141, 93)
HSLhsl(46, 25%, 49%)
HSVhsv(46, 40%, 61%)
CMYKcmyk(0%, 9.6%, 40.4%, 38.8%)
CIE-LABlab(58.89, -1.54, 27.65)
CIE-LCHlch(58.89, 27.69, 93.19°)
OKLaboklab(64.51% -0.0033 0.068)
OKLCHoklch(64.51% 0.068 92.7)
XYZxyz(25.2115, 26.9089, 14.2197)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D5D #5D6C9C
analogous
#9C6E5D #9C8D5D #8C9C5D
triadic
#9C8D5D #5D9C8D #8D5D9C
tetradic
#9C8D5D #5D9C6E #5D6C9C #9C5D8C
square
#9C8D5D #5D9C6E #5D6C9C #9C5D8C
split-complementary
#9C8D5D #5D8C9C #6E5D9C
monochromatic
#4F482F #766A46 #9C8D5D #B4A882 #CBC3A8

Accessibility & contrast

On white

3.29
#9C8D5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#9C8D5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D5D
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D5D#FFFFFF#000000##000000
##9C8D5D1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B59
Deuteranopia (green-blind)
#9B905F
Tritanopia (blue-blind)
#A58681
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8d5d;
/* rgb */ color: rgb(156, 141, 93);
/* oklch */ color: oklch(64.5% 0.068 92.7);
Tailwind
colors: {
  custom: {
    50: '#baae8b',
    500: '#9c8d5d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d5d;
$custom-light: #baae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d5d",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 45.714,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.06808,
    "h": 92.7
  },
  "luminance": 0.26908
}

Semantic roles & 50–950 ramp

primary
#9C8D5D
secondary
#9BA3B9
accent
#7CC266
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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