#9C8A4B#9C8A4B

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

Color values

HEX#9C8A4B
RGBrgb(156, 138, 75)
HSLhsl(47, 35%, 45%)
HSVhsv(47, 52%, 61%)
CMYKcmyk(0%, 11.5%, 51.9%, 38.8%)
CIE-LABlab(57.80, -1.78, 35.95)
CIE-LCHlch(57.80, 35.99, 92.84°)
OKLaboklab(63.57% -0.0057 0.0855)
OKLCHoklch(63.57% 0.086 93.8)
XYZxyz(24.0696, 25.7539, 10.3584)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A4B #4B5D9C
analogous
#9C624B #9C8A4B #859C4B
triadic
#9C8A4B #4B9C8A #8A4B9C
tetradic
#9C8A4B #4B9C62 #4B5D9C #9C4B85
square
#9C8A4B #4B9C62 #4B5D9C #9C4B85
split-complementary
#9C8A4B #4B859C #624B9C
monochromatic
#494123 #736537 #9C8A4B #B8A76C #CCC095

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A4B#FFFFFF#000000##000000
##9C8A4B1.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)
#968846
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a4b;
/* rgb */ color: rgb(156, 138, 75);
/* oklch */ color: oklch(63.6% 0.086 93.8);
Tailwind
colors: {
  custom: {
    50: '#bbac7f',
    500: '#9c8a4b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a4b;
$custom-light: #bbac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a4b",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 75
  },
  "hsl": {
    "h": 46.667,
    "s": 35.065,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63566,
    "c": 0.08573,
    "h": 93.8
  },
  "luminance": 0.25753
}

Semantic roles & 50–950 ramp

primary
#9C8A4B
secondary
#8A95B8
accent
#75CB5D
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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