#9C8B48#9C8B48

#9C8B48 is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.090 H 95.4°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C8B48
RGBrgb(156, 139, 72)
HSLhsl(48, 37%, 45%)
HSVhsv(48, 54%, 61%)
CMYKcmyk(0%, 10.9%, 53.8%, 38.8%)
CIE-LABlab(58.04, -2.61, 37.79)
CIE-LCHlch(58.04, 37.88, 93.95°)
OKLaboklab(63.74% -0.0085 0.0893)
OKLCHoklch(63.74% 0.09 95.4)
XYZxyz(24.1135, 26.0021, 9.8784)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B48 #48599C
analogous
#9C6148 #9C8B48 #839C48
triadic
#9C8B48 #489C8B #8B489C
tetradic
#9C8B48 #489C61 #48599C #9C4883
square
#9C8B48 #489C61 #48599C #9C4883
split-complementary
#9C8B48 #48839C #61489C
monochromatic
#484021 #726635 #9C8B48 #B9A968 #CDC192

Accessibility & contrast

On white

3.39
#9C8B48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9C8B48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B48
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B48#FFFFFF#000000##000000
##9C8B481.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978842
Deuteranopia (green-blind)
#9B8E4B
Tritanopia (blue-blind)
#A7827B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b48;
/* rgb */ color: rgb(156, 139, 72);
/* oklch */ color: oklch(63.7% 0.090 95.4);
Tailwind
colors: {
  custom: {
    50: '#bbac7d',
    500: '#9c8b48',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b48;
$custom-light: #bbac7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b48",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 72
  },
  "hsl": {
    "h": 47.857,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.6374,
    "c": 0.0897,
    "h": 95.4
  },
  "luminance": 0.26001
}

Semantic roles & 50–950 ramp

primary
#9C8B48
secondary
#8791B8
accent
#72CD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8B48

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

Preview Lab → · Contrast checker → · Palette generator →

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