#9C8E4D#9C8E4D

#9C8E4D is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.5% C 0.087 H 97.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8E4D
RGBrgb(156, 142, 77)
HSLhsl(49, 34%, 46%)
HSVhsv(49, 51%, 61%)
CMYKcmyk(0%, 9%, 50.6%, 38.8%)
CIE-LABlab(58.93, -3.79, 36.27)
CIE-LCHlch(58.93, 36.47, 95.97°)
OKLaboklab(64.46% -0.0113 0.0864)
OKLCHoklch(64.46% 0.087 97.5)
XYZxyz(24.7236, 26.9507, 10.9194)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E4D #4D5B9C
analogous
#9C664D #9C8E4D #829C4D
triadic
#9C8E4D #4D9C8E #8E4D9C
tetradic
#9C8E4D #4D9C66 #4D5B9C #9C4D82
square
#9C8E4D #4D9C66 #4D5B9C #9C4D82
split-complementary
#9C8E4D #4D829C #664D9C
monochromatic
#4A4325 #736939 #9C8E4D #B8AB6F #CCC397

Accessibility & contrast

On white

3.29
#9C8E4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8E4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E4D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E4D#FFFFFF#000000##000000
##9C8E4D1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B47
Deuteranopia (green-blind)
#9D9050
Tritanopia (blue-blind)
#A6867F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8e4d;
/* rgb */ color: rgb(156, 142, 77);
/* oklch */ color: oklch(64.5% 0.087 97.5);
Tailwind
colors: {
  custom: {
    50: '#bbae80',
    500: '#9c8e4d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e4d;
$custom-light: #bbae80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e4d",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 49.367,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64465,
    "c": 0.08716,
    "h": 97.5
  },
  "luminance": 0.2695
}

Semantic roles & 50–950 ramp

primary
#9C8E4D
secondary
#8C94B8
accent
#71CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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