#9C8F4E#9C8F4E

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

Color values

HEX#9C8F4E
RGBrgb(156, 143, 78)
HSLhsl(50, 33%, 46%)
HSVhsv(50, 50%, 61%)
CMYKcmyk(0%, 8.3%, 50%, 38.8%)
CIE-LABlab(59.22, -4.25, 36.10)
CIE-LCHlch(59.22, 36.35, 96.71°)
OKLaboklab(64.7% -0.0125 0.0861)
OKLCHoklch(64.7% 0.087 98.3)
XYZxyz(24.9087, 27.2638, 11.1566)
Luminance0.2726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F4E #4E5B9C
analogous
#9C684E #9C8F4E #829C4E
triadic
#9C8F4E #4E9C8F #8F4E9C
tetradic
#9C8F4E #4E9C68 #4E5B9C #9C4E82
square
#9C8F4E #4E9C68 #4E5B9C #9C4E82
split-complementary
#9C8F4E #4E829C #684E9C
monochromatic
#4A4425 #736A3A #9C8F4E #B7AB70 #CCC399

Accessibility & contrast

On white

3.25
#9C8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8F4E#FFFFFF#000000##000000
##9C8F4E1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C48
Deuteranopia (green-blind)
#9E9151
Tritanopia (blue-blind)
#A68780
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9c8f4e;
/* rgb */ color: rgb(156, 143, 78);
/* oklch */ color: oklch(64.7% 0.087 98.3);
Tailwind
colors: {
  custom: {
    50: '#bbaf81',
    500: '#9c8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f4e;
$custom-light: #bbaf81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f4e",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 50,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.08704,
    "h": 98.3
  },
  "luminance": 0.27263
}

Semantic roles & 50–950 ramp

primary
#9C8F4E
secondary
#8D95B8
accent
#70C95E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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