#9C8A48#9C8A48

#9C8A48 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.089 H 94.4°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9C8A48
RGBrgb(156, 138, 72)
HSLhsl(47, 37%, 45%)
HSVhsv(47, 54%, 61%)
CMYKcmyk(0%, 11.5%, 53.8%, 38.8%)
CIE-LABlab(57.76, -2.06, 37.46)
CIE-LCHlch(57.76, 37.51, 93.14°)
OKLaboklab(63.52% -0.0069 0.0886)
OKLCHoklch(63.52% 0.089 94.4)
XYZxyz(23.9693, 25.7138, 9.8303)
Luminance0.2571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A48 #485A9C
analogous
#9C6048 #9C8A48 #849C48
triadic
#9C8A48 #489C8A #8A489C
tetradic
#9C8A48 #489C60 #485A9C #9C4884
square
#9C8A48 #489C60 #485A9C #9C4884
split-complementary
#9C8A48 #48849C #60489C
monochromatic
#484021 #726535 #9C8A48 #B9A868 #CDC092

Accessibility & contrast

On white

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

On black

6.14
#9C8A48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A48
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A48#FFFFFF#000000##000000
##9C8A481.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8a48;
/* rgb */ color: rgb(156, 138, 72);
/* oklch */ color: oklch(63.5% 0.089 94.4);
Tailwind
colors: {
  custom: {
    50: '#bbab7d',
    500: '#9c8a48',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a48;
$custom-light: #bbab7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a48",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 72
  },
  "hsl": {
    "h": 47.143,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.08886,
    "h": 94.4
  },
  "luminance": 0.25713
}

Semantic roles & 50–950 ramp

primary
#9C8A48
secondary
#8792B8
accent
#73CD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A48

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

Preview Lab → · Contrast checker → · Palette generator →

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