#9C8A4A#9C8A4A

#9C8A4A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.6% C 0.087 H 94.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9C8A4A
RGBrgb(156, 138, 74)
HSLhsl(47, 36%, 45%)
HSVhsv(47, 53%, 61%)
CMYKcmyk(0%, 11.5%, 52.6%, 38.8%)
CIE-LABlab(57.79, -1.87, 36.45)
CIE-LCHlch(57.79, 36.50, 92.94°)
OKLaboklab(63.55% -0.0061 0.0866)
OKLCHoklch(63.55% 0.087 94)
XYZxyz(24.0357, 25.7403, 10.1796)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4A #4A5C9C
analogous
#9C614A #9C8A4A #859C4A
triadic
#9C8A4A #4A9C8A #8A4A9C
tetradic
#9C8A4A #4A9C61 #4A5C9C #9C4A85
square
#9C8A4A #4A9C61 #4A5C9C #9C4A85
split-complementary
#9C8A4A #4A859C #614A9C
monochromatic
#494123 #726536 #9C8A4A #B9A76B #CCC094

Accessibility & contrast

On white

3.42
#9C8A4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#9C8A4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A4A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A4A#FFFFFF#000000##000000
##9C8A4A1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a4a;
/* rgb */ color: rgb(156, 138, 74);
/* oklch */ color: oklch(63.6% 0.087 94.0);
Tailwind
colors: {
  custom: {
    50: '#bbac7e',
    500: '#9c8a4a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4a;
$custom-light: #bbac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4a",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 74
  },
  "hsl": {
    "h": 46.829,
    "s": 35.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63552,
    "c": 0.08679,
    "h": 94
  },
  "luminance": 0.25739
}

Semantic roles & 50–950 ramp

primary
#9C8A4A
secondary
#8994B8
accent
#75CC5C
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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