#9C8A4E#9C8A4E

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

Color values

HEX#9C8A4E
RGBrgb(156, 138, 78)
HSLhsl(46, 33%, 46%)
HSVhsv(46, 50%, 61%)
CMYKcmyk(0%, 11.5%, 50%, 38.8%)
CIE-LABlab(57.84, -1.49, 34.42)
CIE-LCHlch(57.84, 34.45, 92.49°)
OKLaboklab(63.61% -0.0046 0.0824)
OKLCHoklch(63.61% 0.083 93.2)
XYZxyz(24.1747, 25.7960, 10.9120)
Luminance0.2580 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4E #4E609C
analogous
#9C634E #9C8A4E #879C4E
triadic
#9C8A4E #4E9C8A #8A4E9C
tetradic
#9C8A4E #4E9C63 #4E609C #9C4E87
square
#9C8A4E #4E9C63 #4E609C #9C4E87
split-complementary
#9C8A4E #4E879C #634E9C
monochromatic
#4A4225 #73663A #9C8A4E #B7A770 #CCC099

Accessibility & contrast

On white

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

On black

6.16
#9C8A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A4E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A4E#FFFFFF#000000##000000
##9C8A4E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958849
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a4e;
/* rgb */ color: rgb(156, 138, 78);
/* oklch */ color: oklch(63.6% 0.083 93.2);
Tailwind
colors: {
  custom: {
    50: '#bbac81',
    500: '#9c8a4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4e;
$custom-light: #bbac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4e",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 46.154,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.63611,
    "c": 0.08254,
    "h": 93.2
  },
  "luminance": 0.25795
}

Semantic roles & 50–950 ramp

primary
#9C8A4E
secondary
#8D97B8
accent
#77C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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