#9C8D3D#9C8D3D

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

Color values

HEX#9C8D3D
RGBrgb(156, 141, 61)
HSLhsl(51, 44%, 43%)
HSVhsv(51, 61%, 61%)
CMYKcmyk(0%, 9.6%, 60.9%, 38.8%)
CIE-LABlab(58.47, -4.61, 43.75)
CIE-LCHlch(58.47, 44.00, 96.01°)
OKLaboklab(64.04% -0.0156 0.1009)
OKLCHoklch(64.04% 0.102 98.8)
XYZxyz(24.0784, 26.4556, 8.2521)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D3D #3D4C9C
analogous
#9C5D3D #9C8D3D #7C9C3D
triadic
#9C8D3D #3D9C8D #8D3D9C
tetradic
#9C8D3D #3D9C5D #3D4C9C #9C3D7C
square
#9C8D3D #3D9C5D #3D4C9C #9C3D7C
split-complementary
#9C8D3D #3D7C9C #5D3D9C
monochromatic
#443D1B #70652C #9C8D3D #BEAE58 #CFC384

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D3D#FFFFFF#000000##000000
##9C8D3D1.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)
#9A8935
Deuteranopia (green-blind)
#9E8F41
Tritanopia (blue-blind)
#A7837C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d3d;
/* rgb */ color: rgb(156, 141, 61);
/* oklch */ color: oklch(64.0% 0.102 98.8);
Tailwind
colors: {
  custom: {
    50: '#bcae76',
    500: '#9c8d3d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d3d;
$custom-light: #bcae76;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d3d",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 50.526,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64039,
    "c": 0.1021,
    "h": 98.8
  },
  "luminance": 0.26455
}

Semantic roles & 50–950 ramp

primary
#9C8D3D
secondary
#7C85B9
accent
#68D454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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