#9C8B4F#9C8B4F

#9C8B4F is a light, moderate yellow. Relative luminance 0.261; OKLCH L 63.8% C 0.082 H 94.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#9C8B4F
RGBrgb(156, 139, 79)
HSLhsl(47, 33%, 46%)
HSVhsv(47, 49%, 61%)
CMYKcmyk(0%, 10.9%, 49.4%, 38.8%)
CIE-LABlab(58.13, -1.95, 34.24)
CIE-LCHlch(58.13, 34.30, 93.26°)
OKLaboklab(63.84% -0.0058 0.0821)
OKLCHoklch(63.84% 0.082 94)
XYZxyz(24.3550, 26.0987, 11.1503)
Luminance0.2610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B4F #4F609C
analogous
#9C644F #9C8B4F #869C4F
triadic
#9C8B4F #4F9C8B #8B4F9C
tetradic
#9C8B4F #4F9C64 #4F609C #9C4F86
square
#9C8B4F #4F9C64 #4F609C #9C4F86
split-complementary
#9C8B4F #4F869C #644F9C
monochromatic
#4B4326 #73673A #9C8B4F #B7A871 #CCC19A

Accessibility & contrast

On white

3.38
#9C8B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#9C8B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B4F
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B4F#FFFFFF#000000##000000
##9C8B4F1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96894A
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#A6837D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8b4f;
/* rgb */ color: rgb(156, 139, 79);
/* oklch */ color: oklch(63.8% 0.082 94.0);
Tailwind
colors: {
  custom: {
    50: '#bbac81',
    500: '#9c8b4f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b4f;
$custom-light: #bbac81;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b4f",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 46.753,
    "s": 32.766,
    "l": 46.078
  },
  "oklch": {
    "l": 0.63842,
    "c": 0.0823,
    "h": 94
  },
  "luminance": 0.26098
}

Semantic roles & 50–950 ramp

primary
#9C8B4F
secondary
#8E98B8
accent
#76C95F
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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