#9C8B3E#9C8B3E

#9C8B3E is a light, moderate yellow. Relative luminance 0.259; OKLCH L 63.6% C 0.099 H 97.0°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9C8B3E
RGBrgb(156, 139, 62)
HSLhsl(49, 43%, 43%)
HSVhsv(49, 60%, 61%)
CMYKcmyk(0%, 10.9%, 60.3%, 38.8%)
CIE-LABlab(57.92, -3.43, 42.66)
CIE-LCHlch(57.92, 42.80, 94.60°)
OKLaboklab(63.61% -0.0121 0.0987)
OKLCHoklch(63.61% 0.099 97)
XYZxyz(23.8134, 25.8820, 8.2979)
Luminance0.2588 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B3E #3E4F9C
analogous
#9C5C3E #9C8B3E #7E9C3E
triadic
#9C8B3E #3E9C8B #8B3E9C
tetradic
#9C8B3E #3E9C5C #3E4F9C #9C3E7E
square
#9C8B3E #3E9C5C #3E4F9C #9C3E7E
split-complementary
#9C8B3E #3E7E9C #5C3E9C
monochromatic
#443D1B #70642D #9C8B3E #BDAB5A #CFC286

Accessibility & contrast

On white

3.40
#9C8B3E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#9C8B3E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B3E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B3E#FFFFFF#000000##000000
##9C8B3E1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988836
Deuteranopia (green-blind)
#9C8E42
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b3e;
/* rgb */ color: rgb(156, 139, 62);
/* oklch */ color: oklch(63.6% 0.099 97.0);
Tailwind
colors: {
  custom: {
    50: '#bcac76',
    500: '#9c8b3e',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b3e;
$custom-light: #bcac76;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b3e",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 62
  },
  "hsl": {
    "h": 49.149,
    "s": 43.119,
    "l": 42.745
  },
  "oklch": {
    "l": 0.63613,
    "c": 0.09945,
    "h": 97
  },
  "luminance": 0.25881
}

Semantic roles & 50–950 ramp

primary
#9C8B3E
secondary
#7D88B9
accent
#6CD355
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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