#9C8D5E#9C8D5E

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

Color values

HEX#9C8D5E
RGBrgb(156, 141, 94)
HSLhsl(45, 25%, 49%)
HSVhsv(45, 40%, 61%)
CMYKcmyk(0%, 9.6%, 39.7%, 38.8%)
CIE-LABlab(58.91, -1.42, 27.12)
CIE-LCHlch(58.91, 27.16, 93.00°)
OKLaboklab(64.53% -0.0028 0.0668)
OKLCHoklch(64.53% 0.067 92.4)
XYZxyz(25.2561, 26.9267, 14.4545)
Luminance0.2693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D5E #5E6D9C
analogous
#9C6E5E #9C8D5E #8C9C5E
triadic
#9C8D5E #5E9C8D #8D5E9C
tetradic
#9C8D5E #5E9C6E #5E6D9C #9C5E8C
square
#9C8D5E #5E9C6E #5E6D9C #9C5E8C
split-complementary
#9C8D5E #5E8C9C #6E5E9C
monochromatic
#504830 #766A47 #9C8D5E #B4A883 #CBC3A9

Accessibility & contrast

On white

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

On black

6.39
#9C8D5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D5E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D5E#FFFFFF#000000##000000
##9C8D5E1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d5e;
/* rgb */ color: rgb(156, 141, 94);
/* oklch */ color: oklch(64.5% 0.067 92.4);
Tailwind
colors: {
  custom: {
    50: '#baae8c',
    500: '#9c8d5e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d5e;
$custom-light: #baae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d5e",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 94
  },
  "hsl": {
    "h": 45.484,
    "s": 24.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.64529,
    "c": 0.06688,
    "h": 92.4
  },
  "luminance": 0.26926
}

Semantic roles & 50–950 ramp

primary
#9C8D5E
secondary
#9CA3BA
accent
#7DC167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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