#9C8A4D#9C8A4D

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

Color values

HEX#9C8A4D
RGBrgb(156, 138, 77)
HSLhsl(46, 34%, 46%)
HSVhsv(46, 51%, 61%)
CMYKcmyk(0%, 11.5%, 50.6%, 38.8%)
CIE-LABlab(57.83, -1.59, 34.93)
CIE-LCHlch(57.83, 34.96, 92.61°)
OKLaboklab(63.6% -0.005 0.0835)
OKLCHoklch(63.6% 0.084 93.4)
XYZxyz(24.1391, 25.7817, 10.7246)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4D #4D5F9C
analogous
#9C624D #9C8A4D #869C4D
triadic
#9C8A4D #4D9C8A #8A4D9C
tetradic
#9C8A4D #4D9C62 #4D5F9C #9C4D86
square
#9C8A4D #4D9C62 #4D5F9C #9C4D86
split-complementary
#9C8A4D #4D869C #624D9C
monochromatic
#4A4225 #736639 #9C8A4D #B8A76F #CCC097

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A4D#FFFFFF#000000##000000
##9C8A4D1.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)
#968848
Deuteranopia (green-blind)
#9A8D4F
Tritanopia (blue-blind)
#A7827C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a4d;
/* rgb */ color: rgb(156, 138, 77);
/* oklch */ color: oklch(63.6% 0.084 93.4);
Tailwind
colors: {
  custom: {
    50: '#bbac80',
    500: '#9c8a4d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4d;
$custom-light: #bbac80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4d",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 77
  },
  "hsl": {
    "h": 46.329,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63596,
    "c": 0.08361,
    "h": 93.4
  },
  "luminance": 0.25781
}

Semantic roles & 50–950 ramp

primary
#9C8A4D
secondary
#8C96B8
accent
#76CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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