#9C8D3A#9C8D3A

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

Color values

HEX#9C8D3A
RGBrgb(156, 141, 58)
HSLhsl(51, 46%, 42%)
HSVhsv(51, 63%, 61%)
CMYKcmyk(0%, 9.6%, 62.8%, 38.8%)
CIE-LABlab(58.44, -4.82, 45.14)
CIE-LCHlch(58.44, 45.40, 96.10°)
OKLaboklab(64.01% -0.0166 0.1035)
OKLCHoklch(64.01% 0.105 99.1)
XYZxyz(23.9999, 26.4242, 7.8384)
Luminance0.2642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D3A #3A499C
analogous
#9C5C3A #9C8D3A #7A9C3A
triadic
#9C8D3A #3A9C8D #8D3A9C
tetradic
#9C8D3A #3A9C5C #3A499C #9C3A7A
square
#9C8D3A #3A9C5C #3A499C #9C3A7A
split-complementary
#9C8D3A #3A7A9C #5C3A9C
monochromatic
#433C19 #6F6529 #9C8D3A #BFAF54 #D0C480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D3A#FFFFFF#000000##000000
##9C8D3A1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d3a;
/* rgb */ color: rgb(156, 141, 58);
/* oklch */ color: oklch(64.0% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#bcae74',
    500: '#9c8d3a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d3a;
$custom-light: #bcae74;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d3a",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 58
  },
  "hsl": {
    "h": 50.816,
    "s": 45.794,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64007,
    "c": 0.10477,
    "h": 99.1
  },
  "luminance": 0.26423
}

Semantic roles & 50–950 ramp

primary
#9C8D3A
secondary
#7882BA
accent
#66D552
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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