#9C8D41#9C8D41

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

Color values

HEX#9C8D41
RGBrgb(156, 141, 65)
HSLhsl(50, 41%, 43%)
HSVhsv(50, 58%, 61%)
CMYKcmyk(0%, 9.6%, 58.3%, 38.8%)
CIE-LABlab(58.51, -4.30, 41.86)
CIE-LCHlch(58.51, 42.08, 95.86°)
OKLaboklab(64.09% -0.0142 0.0974)
OKLCHoklch(64.09% 0.098 98.3)
XYZxyz(24.1902, 26.5003, 8.8409)
Luminance0.2650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D41 #41509C
analogous
#9C5F41 #9C8D41 #7D9C41
triadic
#9C8D41 #419C8D #8D419C
tetradic
#9C8D41 #419C5F #41509C #9C417D
square
#9C8D41 #419C5F #41509C #9C417D
split-complementary
#9C8D41 #417D9C #5F419C
monochromatic
#463F1D #71662F #9C8D41 #BCAD5E #CEC389

Accessibility & contrast

On white

3.33
#9C8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D41#FFFFFF#000000##000000
##9C8D411.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d41;
/* rgb */ color: rgb(156, 141, 65);
/* oklch */ color: oklch(64.1% 0.098 98.3);
Tailwind
colors: {
  custom: {
    50: '#bbae78',
    500: '#9c8d41',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d41;
$custom-light: #bbae78;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d41",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 50.11,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64086,
    "c": 0.0984,
    "h": 98.3
  },
  "luminance": 0.26499
}

Semantic roles & 50–950 ramp

primary
#9C8D41
secondary
#8089B9
accent
#6BD157
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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