#9C8D3C#9C8D3C

#9C8D3C is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.103 H 98.9°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#9C8D3C
RGBrgb(156, 141, 60)
HSLhsl(51, 44%, 42%)
HSVhsv(51, 62%, 61%)
CMYKcmyk(0%, 9.6%, 61.5%, 38.8%)
CIE-LABlab(58.46, -4.68, 44.22)
CIE-LCHlch(58.46, 44.47, 96.04°)
OKLaboklab(64.03% -0.0159 0.1018)
OKLCHoklch(64.03% 0.103 98.9)
XYZxyz(24.0517, 26.4450, 8.1116)
Luminance0.2644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D3C #3C4B9C
analogous
#9C5D3C #9C8D3C #7B9C3C
triadic
#9C8D3C #3C9C8D #8D3C9C
tetradic
#9C8D3C #3C9C5D #3C4B9C #9C3C7B
square
#9C8D3C #3C9C5D #3C4B9C #9C3C7B
split-complementary
#9C8D3C #3C7B9C #5D3C9C
monochromatic
#443D1A #70652B #9C8D3C #BEAE57 #CFC383

Accessibility & contrast

On white

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

On black

6.29
#9C8D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D3C
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D3C#FFFFFF#000000##000000
##9C8D3C1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8933
Deuteranopia (green-blind)
#9E8F40
Tritanopia (blue-blind)
#A7837B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d3c;
/* rgb */ color: rgb(156, 141, 60);
/* oklch */ color: oklch(64.0% 0.103 98.9);
Tailwind
colors: {
  custom: {
    50: '#bcae75',
    500: '#9c8d3c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d3c;
$custom-light: #bcae75;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d3c",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 60
  },
  "hsl": {
    "h": 50.625,
    "s": 44.444,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.10301,
    "h": 98.9
  },
  "luminance": 0.26444
}

Semantic roles & 50–950 ramp

primary
#9C8D3C
secondary
#7A84B9
accent
#68D454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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