#9C8D36#9C8D36

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

Color values

HEX#9C8D36
RGBrgb(156, 141, 54)
HSLhsl(51, 49%, 41%)
HSVhsv(51, 65%, 61%)
CMYKcmyk(0%, 9.6%, 65.4%, 38.8%)
CIE-LABlab(58.40, -5.09, 46.94)
CIE-LCHlch(58.40, 47.22, 96.19°)
OKLaboklab(63.97% -0.0178 0.1067)
OKLCHoklch(63.97% 0.108 99.5)
XYZxyz(23.9020, 26.3851, 7.3231)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D36 #36459C
analogous
#9C5A36 #9C8D36 #789C36
triadic
#9C8D36 #369C8D #8D369C
tetradic
#9C8D36 #369C5A #36459C #9C3678
square
#9C8D36 #369C5A #36459C #9C3678
split-complementary
#9C8D36 #36789C #5A369C
monochromatic
#413B17 #6F6426 #9C8D36 #C2B14E #D1C57B

Accessibility & contrast

On white

3.35
#9C8D36 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#9C8D36 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D36
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D36#FFFFFF#000000##000000
##9C8D361.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A892C
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#A8837B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d36;
/* rgb */ color: rgb(156, 141, 54);
/* oklch */ color: oklch(64.0% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#bcae71',
    500: '#9c8d36',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d36;
$custom-light: #bcae71;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d36",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 54
  },
  "hsl": {
    "h": 51.176,
    "s": 48.571,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63966,
    "c": 0.10815,
    "h": 99.5
  },
  "luminance": 0.26384
}

Semantic roles & 50–950 ramp

primary
#9C8D36
secondary
#747EBA
accent
#64D850
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D36

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

Preview Lab → · Contrast checker → · Palette generator →

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