#9C8F4C#9C8F4C

#9C8F4C is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.089 H 98.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9C8F4C
RGBrgb(156, 143, 76)
HSLhsl(50, 34%, 45%)
HSVhsv(50, 51%, 61%)
CMYKcmyk(0%, 8.3%, 51.3%, 38.8%)
CIE-LABlab(59.19, -4.44, 37.10)
CIE-LCHlch(59.19, 37.37, 96.82°)
OKLaboklab(64.67% -0.0133 0.0882)
OKLCHoklch(64.67% 0.089 98.6)
XYZxyz(24.8380, 27.2356, 10.7847)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F4C #4C599C
analogous
#9C674C #9C8F4C #819C4C
triadic
#9C8F4C #4C9C8F #8F4C9C
tetradic
#9C8F4C #4C9C67 #4C599C #9C4C81
square
#9C8F4C #4C9C67 #4C599C #9C4C81
split-complementary
#9C8F4C #4C819C #674C9C
monochromatic
#4A4424 #736938 #9C8F4C #B8AC6D #CCC396

Accessibility & contrast

On white

3.26
#9C8F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#9C8F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F4C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F4C#FFFFFF#000000##000000
##9C8F4C1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C46
Deuteranopia (green-blind)
#9E914F
Tritanopia (blue-blind)
#A6867F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f4c;
/* rgb */ color: rgb(156, 143, 76);
/* oklch */ color: oklch(64.7% 0.089 98.6);
Tailwind
colors: {
  custom: {
    50: '#bbaf80',
    500: '#9c8f4c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f4c;
$custom-light: #bbaf80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f4c",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 50.25,
    "s": 34.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.08918,
    "h": 98.6
  },
  "luminance": 0.27235
}

Semantic roles & 50–950 ramp

primary
#9C8F4C
secondary
#8B93B8
accent
#6FCB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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