#9C8F56#9C8F56

#9C8F56 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.078 H 96.9°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9C8F56
RGBrgb(156, 143, 86)
HSLhsl(49, 29%, 47%)
HSVhsv(49, 45%, 61%)
CMYKcmyk(0%, 8.3%, 44.9%, 38.8%)
CIE-LABlab(59.33, -3.43, 32.01)
CIE-LCHlch(59.33, 32.19, 96.12°)
OKLaboklab(64.82% -0.0093 0.0776)
OKLCHoklch(64.82% 0.078 96.9)
XYZxyz(25.2131, 27.3856, 12.7601)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F56 #56639C
analogous
#9C6C56 #9C8F56 #869C56
triadic
#9C8F56 #569C8F #8F569C
tetradic
#9C8F56 #569C6C #56639C #9C5686
square
#9C8F56 #569C6C #56639C #9C5686
split-complementary
#9C8F56 #56869C #6C569C
monochromatic
#4D472B #756B40 #9C8F56 #B6AA7A #CBC3A1

Accessibility & contrast

On white

3.24
#9C8F56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9C8F56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F56
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F56#FFFFFF#000000##000000
##9C8F561.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#998C52
Deuteranopia (green-blind)
#9D9158
Tritanopia (blue-blind)
#A68781
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c8f56;
/* rgb */ color: rgb(156, 143, 86);
/* oklch */ color: oklch(64.8% 0.078 96.9);
Tailwind
colors: {
  custom: {
    50: '#baaf86',
    500: '#9c8f56',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f56;
$custom-light: #baaf86;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f56",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 86
  },
  "hsl": {
    "h": 48.857,
    "s": 28.926,
    "l": 47.451
  },
  "oklch": {
    "l": 0.64823,
    "c": 0.07813,
    "h": 96.9
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#9C8F56
secondary
#959CB9
accent
#75C563
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8F56

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

Preview Lab → · Contrast checker → · Palette generator →

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