#9C8D4E#9C8D4E

#9C8D4E is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.085 H 96.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9C8D4E
RGBrgb(156, 141, 78)
HSLhsl(48, 33%, 46%)
HSVhsv(48, 50%, 61%)
CMYKcmyk(0%, 9.6%, 50%, 38.8%)
CIE-LABlab(58.67, -3.15, 35.43)
CIE-LCHlch(58.67, 35.56, 95.08°)
OKLaboklab(64.26% -0.0094 0.0847)
OKLCHoklch(64.26% 0.085 96.3)
XYZxyz(24.6111, 26.6687, 11.0574)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D4E #4E5D9C
analogous
#9C664E #9C8D4E #849C4E
triadic
#9C8D4E #4E9C8D #8D4E9C
tetradic
#9C8D4E #4E9C66 #4E5D9C #9C4E84
square
#9C8D4E #4E9C66 #4E5D9C #9C4E84
split-complementary
#9C8D4E #4E849C #664E9C
monochromatic
#4A4325 #73683A #9C8D4E #B7AA70 #CCC299

Accessibility & contrast

On white

3.32
#9C8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#9C8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D4E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D4E#FFFFFF#000000##000000
##9C8D4E1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A6857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d4e;
/* rgb */ color: rgb(156, 141, 78);
/* oklch */ color: oklch(64.3% 0.085 96.3);
Tailwind
colors: {
  custom: {
    50: '#bbae81',
    500: '#9c8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d4e;
$custom-light: #bbae81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d4e",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 48.462,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64262,
    "c": 0.08517,
    "h": 96.3
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#9C8D4E
secondary
#8D96B8
accent
#73C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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