#9C8D56#9C8D56

#9C8D56 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.076 H 94.6°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C8D56
RGBrgb(156, 141, 86)
HSLhsl(47, 29%, 47%)
HSVhsv(47, 45%, 61%)
CMYKcmyk(0%, 9.6%, 44.9%, 38.8%)
CIE-LABlab(58.78, -2.33, 31.31)
CIE-LCHlch(58.78, 31.40, 94.25°)
OKLaboklab(64.39% -0.0062 0.076)
OKLCHoklch(64.39% 0.076 94.6)
XYZxyz(24.9155, 26.7905, 12.6609)
Luminance0.2679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D56 #56659C
analogous
#9C6A56 #9C8D56 #889C56
triadic
#9C8D56 #569C8D #8D569C
tetradic
#9C8D56 #569C6A #56659C #9C5688
square
#9C8D56 #569C6A #56659C #9C5688
split-complementary
#9C8D56 #56889C #6A569C
monochromatic
#4D462B #756940 #9C8D56 #B6A97A #CBC2A1

Accessibility & contrast

On white

3.30
#9C8D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9C8D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D56
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D56#FFFFFF#000000##000000
##9C8D561.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B52
Deuteranopia (green-blind)
#9C8F58
Tritanopia (blue-blind)
#A6857F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d56;
/* rgb */ color: rgb(156, 141, 86);
/* oklch */ color: oklch(64.4% 0.076 94.6);
Tailwind
colors: {
  custom: {
    50: '#baae86',
    500: '#9c8d56',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d56;
$custom-light: #baae86;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d56",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 47.143,
    "s": 28.926,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64388,
    "c": 0.07625,
    "h": 94.6
  },
  "luminance": 0.2679
}

Semantic roles & 50–950 ramp

primary
#9C8D56
secondary
#959DB9
accent
#78C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8D56

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

Preview Lab → · Contrast checker → · Palette generator →

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