#9C8B4D#9C8B4D

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

Color values

HEX#9C8B4D
RGBrgb(156, 139, 77)
HSLhsl(47, 34%, 46%)
HSVhsv(47, 51%, 61%)
CMYKcmyk(0%, 10.9%, 50.6%, 38.8%)
CIE-LABlab(58.10, -2.14, 35.26)
CIE-LCHlch(58.10, 35.33, 93.48°)
OKLaboklab(63.81% -0.0066 0.0842)
OKLCHoklch(63.81% 0.084 94.5)
XYZxyz(24.2833, 26.0700, 10.7726)
Luminance0.2607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B4D #4D5E9C
analogous
#9C634D #9C8B4D #859C4D
triadic
#9C8B4D #4D9C8B #8B4D9C
tetradic
#9C8B4D #4D9C63 #4D5E9C #9C4D85
square
#9C8B4D #4D9C63 #4D5E9C #9C4D85
split-complementary
#9C8B4D #4D859C #634D9C
monochromatic
#4A4225 #736639 #9C8B4D #B8A86F #CCC197

Accessibility & contrast

On white

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

On black

6.21
#9C8B4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B4D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B4D#FFFFFF#000000##000000
##9C8B4D1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#968948
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#A7837C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8b4d;
/* rgb */ color: rgb(156, 139, 77);
/* oklch */ color: oklch(63.8% 0.084 94.5);
Tailwind
colors: {
  custom: {
    50: '#bbac80',
    500: '#9c8b4d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b4d;
$custom-light: #bbac80;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b4d",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 77
  },
  "hsl": {
    "h": 47.089,
    "s": 33.906,
    "l": 45.686
  },
  "oklch": {
    "l": 0.63812,
    "c": 0.08446,
    "h": 94.5
  },
  "luminance": 0.26069
}

Semantic roles & 50–950 ramp

primary
#9C8B4D
secondary
#8C96B8
accent
#75CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9C8B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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