#9C8D5F#9C8D5F

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

Color values

HEX#9C8D5F
RGBrgb(156, 141, 95)
HSLhsl(45, 24%, 49%)
HSVhsv(45, 39%, 61%)
CMYKcmyk(0%, 9.6%, 39.1%, 38.8%)
CIE-LABlab(58.92, -1.30, 26.60)
CIE-LCHlch(58.92, 26.63, 92.81°)
OKLaboklab(64.55% -0.0024 0.0656)
OKLCHoklch(64.55% 0.066 92.1)
XYZxyz(25.3013, 26.9448, 14.6923)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D5F #5F6E9C
analogous
#9C6F5F #9C8D5F #8D9C5F
triadic
#9C8D5F #5F9C8D #8D5F9C
tetradic
#9C8D5F #5F9C6F #5F6E9C #9C5F8D
square
#9C8D5F #5F9C6F #5F6E9C #9C5F8D
split-complementary
#9C8D5F #5F8D9C #6F5F9C
monochromatic
#504831 #766B48 #9C8D5F #B4A884 #CBC3AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D5F#FFFFFF#000000##000000
##9C8D5F1.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)
#978B5C
Deuteranopia (green-blind)
#9A9061
Tritanopia (blue-blind)
#A58681
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8d5f;
/* rgb */ color: rgb(156, 141, 95);
/* oklch */ color: oklch(64.5% 0.066 92.1);
Tailwind
colors: {
  custom: {
    50: '#baae8d',
    500: '#9c8d5f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d5f;
$custom-light: #baae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d5f",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 95
  },
  "hsl": {
    "h": 45.246,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.64548,
    "c": 0.06568,
    "h": 92.1
  },
  "luminance": 0.26944
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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