#9C8B39#9C8B39

#9C8B39 is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.6% C 0.104 H 97.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9C8B39
RGBrgb(156, 139, 57)
HSLhsl(50, 46%, 42%)
HSVhsv(50, 63%, 61%)
CMYKcmyk(0%, 10.9%, 63.5%, 38.8%)
CIE-LABlab(57.88, -3.80, 44.99)
CIE-LCHlch(57.88, 45.15, 94.82°)
OKLaboklab(63.56% -0.0137 0.103)
OKLCHoklch(63.56% 0.104 97.6)
XYZxyz(23.6824, 25.8297, 7.6083)
Luminance0.2583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B39 #394A9C
analogous
#9C5A39 #9C8B39 #7C9C39
triadic
#9C8B39 #399C8B #8B399C
tetradic
#9C8B39 #399C5A #394A9C #9C397C
square
#9C8B39 #399C5A #394A9C #9C397C
split-complementary
#9C8B39 #397C9C #5A399C
monochromatic
#423B18 #6F6329 #9C8B39 #C0AD52 #D0C27F

Accessibility & contrast

On white

3.41
#9C8B39 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#9C8B39 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B39
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B39#FFFFFF#000000##000000
##9C8B391.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988830
Deuteranopia (green-blind)
#9D8E3D
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b39;
/* rgb */ color: rgb(156, 139, 57);
/* oklch */ color: oklch(63.6% 0.104 97.6);
Tailwind
colors: {
  custom: {
    50: '#bcac73',
    500: '#9c8b39',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b39;
$custom-light: #bcac73;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b39",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 57
  },
  "hsl": {
    "h": 49.697,
    "s": 46.479,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.1039,
    "h": 97.6
  },
  "luminance": 0.25829
}

Semantic roles & 50–950 ramp

primary
#9C8B39
secondary
#7782BA
accent
#68D652
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B39

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

Preview Lab → · Contrast checker → · Palette generator →

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