#9C8E5D#9C8E5D

#9C8E5D is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.069 H 94.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9C8E5D
RGBrgb(156, 142, 93)
HSLhsl(47, 25%, 49%)
HSVhsv(47, 40%, 61%)
CMYKcmyk(0%, 9%, 40.4%, 38.8%)
CIE-LABlab(59.16, -2.09, 28.00)
CIE-LCHlch(59.16, 28.08, 94.28°)
OKLaboklab(64.73% -0.0049 0.0688)
OKLCHoklch(64.73% 0.069 94)
XYZxyz(25.3596, 27.2051, 14.2691)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E5D #5D6B9C
analogous
#9C6F5D #9C8E5D #8B9C5D
triadic
#9C8E5D #5D9C8E #8E5D9C
tetradic
#9C8E5D #5D9C6F #5D6B9C #9C5D8B
square
#9C8E5D #5D9C6F #5D6B9C #9C5D8B
split-complementary
#9C8E5D #5D8B9C #6F5D9C
monochromatic
#4F482F #766B46 #9C8E5D #B4A982 #CBC3A8

Accessibility & contrast

On white

3.26
#9C8E5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9C8E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E5D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E5D#FFFFFF#000000##000000
##9C8E5D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C59
Deuteranopia (green-blind)
#9B905F
Tritanopia (blue-blind)
#A58782
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e5d;
/* rgb */ color: rgb(156, 142, 93);
/* oklch */ color: oklch(64.7% 0.069 94.0);
Tailwind
colors: {
  custom: {
    50: '#baae8b',
    500: '#9c8e5d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e5d;
$custom-light: #baae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e5d",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 46.667,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.64727,
    "c": 0.06899,
    "h": 94
  },
  "luminance": 0.27204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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