#9C8D5C#9C8D5C

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

Color values

HEX#9C8D5C
RGBrgb(156, 141, 92)
HSLhsl(46, 26%, 49%)
HSVhsv(46, 41%, 61%)
CMYKcmyk(0%, 9.6%, 41%, 38.8%)
CIE-LABlab(58.87, -1.66, 28.18)
CIE-LCHlch(58.87, 28.22, 93.37°)
OKLaboklab(64.49% -0.0037 0.0692)
OKLCHoklch(64.49% 0.069 93)
XYZxyz(25.1675, 26.8913, 13.9880)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D5C #5C6B9C
analogous
#9C6D5C #9C8D5C #8B9C5C
triadic
#9C8D5C #5C9C8D #8D5C9C
tetradic
#9C8D5C #5C9C6D #5C6B9C #9C5C8B
square
#9C8D5C #5C9C6D #5C6B9C #9C5C8B
split-complementary
#9C8D5C #5C8B9C #6D5C9C
monochromatic
#4F472F #766A45 #9C8D5C #B5A881 #CBC3A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D5C#FFFFFF#000000##000000
##9C8D5C1.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)
#978B58
Deuteranopia (green-blind)
#9B905E
Tritanopia (blue-blind)
#A58681
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8d5c;
/* rgb */ color: rgb(156, 141, 92);
/* oklch */ color: oklch(64.5% 0.069 93.0);
Tailwind
colors: {
  custom: {
    50: '#baae8b',
    500: '#9c8d5c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d5c;
$custom-light: #baae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d5c",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 92
  },
  "hsl": {
    "h": 45.938,
    "s": 25.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.64493,
    "c": 0.06926,
    "h": 93
  },
  "luminance": 0.2689
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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