#9C8D2A#9C8D2A

#9C8D2A is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.117 H 100.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C8D2A
RGBrgb(156, 141, 42)
HSLhsl(52, 58%, 39%)
HSVhsv(52, 73%, 61%)
CMYKcmyk(0%, 9.6%, 73.1%, 38.8%)
CIE-LABlab(58.31, -5.79, 51.93)
CIE-LCHlch(58.31, 52.26, 96.36°)
OKLaboklab(63.86% -0.0212 0.1151)
OKLCHoklch(63.86% 0.117 100.4)
XYZxyz(23.6542, 26.2859, 6.0178)
Luminance0.2628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D2A #2A399C
analogous
#9C542A #9C8D2A #729C2A
triadic
#9C8D2A #2A9C8D #8D2A9C
tetradic
#9C8D2A #2A9C54 #2A399C #9C2A72
square
#9C8D2A #2A9C54 #2A399C #9C2A72
split-complementary
#9C8D2A #2A729C #542A9C
monochromatic
#3C3610 #6C611D #9C8D2A #CAB739 #D7C86A

Accessibility & contrast

On white

3.36
#9C8D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9C8D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D2A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D2A#FFFFFF#000000##000000
##9C8D2A1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#A88379
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d2a;
/* rgb */ color: rgb(156, 141, 42);
/* oklch */ color: oklch(63.9% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#bdae6a',
    500: '#9c8d2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d2a;
$custom-light: #bdae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d2a",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 52.105,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63862,
    "c": 0.11705,
    "h": 100.4
  },
  "luminance": 0.26285
}

Semantic roles & 50–950 ramp

primary
#9C8D2A
secondary
#6570BD
accent
#5BE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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