#9C8D4F#9C8D4F

#9C8D4F is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.084 H 96.1°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9C8D4F
RGBrgb(156, 141, 79)
HSLhsl(48, 33%, 46%)
HSVhsv(48, 49%, 61%)
CMYKcmyk(0%, 9.6%, 49.4%, 38.8%)
CIE-LABlab(58.68, -3.05, 34.92)
CIE-LCHlch(58.68, 35.05, 94.99°)
OKLaboklab(64.28% -0.009 0.0836)
OKLCHoklch(64.28% 0.084 96.1)
XYZxyz(24.6472, 26.6831, 11.2477)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D4F #4F5E9C
analogous
#9C664F #9C8D4F #849C4F
triadic
#9C8D4F #4F9C8D #8D4F9C
tetradic
#9C8D4F #4F9C66 #4F5E9C #9C4F84
square
#9C8D4F #4F9C66 #4F5E9C #9C4F84
split-complementary
#9C8D4F #4F849C #664F9C
monochromatic
#4B4426 #73683A #9C8D4F #B7A971 #CCC29A

Accessibility & contrast

On white

3.31
#9C8D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#9C8D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D4F
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D4F#FFFFFF#000000##000000
##9C8D4F1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A4A
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A6857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d4f;
/* rgb */ color: rgb(156, 141, 79);
/* oklch */ color: oklch(64.3% 0.084 96.1);
Tailwind
colors: {
  custom: {
    50: '#bbae82',
    500: '#9c8d4f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d4f;
$custom-light: #bbae82;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d4f",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 48.312,
    "s": 32.766,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64277,
    "c": 0.08408,
    "h": 96.1
  },
  "luminance": 0.26682
}

Semantic roles & 50–950 ramp

primary
#9C8D4F
secondary
#8E97B8
accent
#74C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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