#9C8D3F#9C8D3F

#9C8D3F is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.100 H 98.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9C8D3F
RGBrgb(156, 141, 63)
HSLhsl(50, 42%, 43%)
HSVhsv(50, 60%, 61%)
CMYKcmyk(0%, 9.6%, 59.6%, 38.8%)
CIE-LABlab(58.49, -4.45, 42.81)
CIE-LCHlch(58.49, 43.04, 95.94°)
OKLaboklab(64.06% -0.0149 0.0992)
OKLCHoklch(64.06% 0.1 98.5)
XYZxyz(24.1333, 26.4776, 8.5411)
Luminance0.2648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D3F #3F4E9C
analogous
#9C5F3F #9C8D3F #7C9C3F
triadic
#9C8D3F #3F9C8D #8D3F9C
tetradic
#9C8D3F #3F9C5F #3F4E9C #9C3F7C
square
#9C8D3F #3F9C5F #3F4E9C #9C3F7C
split-complementary
#9C8D3F #3F7C9C #5F3F9C
monochromatic
#453E1C #70662D #9C8D3F #BDAD5B #CEC387

Accessibility & contrast

On white

3.34
#9C8D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#9C8D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D3F
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D3F#FFFFFF#000000##000000
##9C8D3F1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A37
Deuteranopia (green-blind)
#9E8F43
Tritanopia (blue-blind)
#A7847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d3f;
/* rgb */ color: rgb(156, 141, 63);
/* oklch */ color: oklch(64.1% 0.100 98.5);
Tailwind
colors: {
  custom: {
    50: '#bcae77',
    500: '#9c8d3f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d3f;
$custom-light: #bcae77;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d3f",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 50.323,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.64062,
    "c": 0.10027,
    "h": 98.5
  },
  "luminance": 0.26477
}

Semantic roles & 50–950 ramp

primary
#9C8D3F
secondary
#7E87B9
accent
#6AD256
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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