#9C8A4C#9C8A4C

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

Color values

HEX#9C8A4C
RGBrgb(156, 138, 76)
HSLhsl(47, 34%, 45%)
HSVhsv(47, 51%, 61%)
CMYKcmyk(0%, 11.5%, 51.3%, 38.8%)
CIE-LABlab(57.82, -1.69, 35.44)
CIE-LCHlch(57.82, 35.48, 92.72°)
OKLaboklab(63.58% -0.0053 0.0845)
OKLCHoklch(63.58% 0.085 93.6)
XYZxyz(24.1041, 25.7677, 10.5401)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4C #4C5E9C
analogous
#9C624C #9C8A4C #869C4C
triadic
#9C8A4C #4C9C8A #8A4C9C
tetradic
#9C8A4C #4C9C62 #4C5E9C #9C4C86
square
#9C8A4C #4C9C62 #4C5E9C #9C4C86
split-complementary
#9C8A4C #4C869C #624C9C
monochromatic
#4A4124 #736638 #9C8A4C #B8A76D #CCC096

Accessibility & contrast

On white

3.41
#9C8A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A4C#FFFFFF#000000##000000
##9C8A4C1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8a4c;
/* rgb */ color: rgb(156, 138, 76);
/* oklch */ color: oklch(63.6% 0.085 93.6);
Tailwind
colors: {
  custom: {
    50: '#bbac7f',
    500: '#9c8a4c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4c;
$custom-light: #bbac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4c",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 76
  },
  "hsl": {
    "h": 46.5,
    "s": 34.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63581,
    "c": 0.08468,
    "h": 93.6
  },
  "luminance": 0.25767
}

Semantic roles & 50–950 ramp

primary
#9C8A4C
secondary
#8B96B8
accent
#76CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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