#9C8D48#9C8D48

#9C8D48 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.091 H 97.3°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9C8D48
RGBrgb(156, 141, 72)
HSLhsl(49, 37%, 45%)
HSVhsv(49, 54%, 61%)
CMYKcmyk(0%, 9.6%, 53.8%, 38.8%)
CIE-LABlab(58.59, -3.71, 38.44)
CIE-LCHlch(58.59, 38.62, 95.51°)
OKLaboklab(64.18% -0.0117 0.0907)
OKLCHoklch(64.18% 0.091 97.3)
XYZxyz(24.4057, 26.5865, 9.9758)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D48 #48579C
analogous
#9C6348 #9C8D48 #819C48
triadic
#9C8D48 #489C8D #8D489C
tetradic
#9C8D48 #489C63 #48579C #9C4881
square
#9C8D48 #489C63 #48579C #9C4881
split-complementary
#9C8D48 #48819C #63489C
monochromatic
#484121 #726735 #9C8D48 #B9AB68 #CDC292

Accessibility & contrast

On white

3.32
#9C8D48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9C8D48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D48
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D48#FFFFFF#000000##000000
##9C8D481.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A42
Deuteranopia (green-blind)
#9D8F4B
Tritanopia (blue-blind)
#A7847D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d48;
/* rgb */ color: rgb(156, 141, 72);
/* oklch */ color: oklch(64.2% 0.091 97.3);
Tailwind
colors: {
  custom: {
    50: '#bbae7d',
    500: '#9c8d48',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d48;
$custom-light: #bbae7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d48",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 72
  },
  "hsl": {
    "h": 49.286,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64176,
    "c": 0.09148,
    "h": 97.3
  },
  "luminance": 0.26586
}

Semantic roles & 50–950 ramp

primary
#9C8D48
secondary
#8790B8
accent
#6FCD5B
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D48

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

Preview Lab → · Contrast checker → · Palette generator →

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