#9C8B3D#9C8B3D

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

Color values

HEX#9C8B3D
RGBrgb(156, 139, 61)
HSLhsl(49, 44%, 43%)
HSVhsv(49, 61%, 61%)
CMYKcmyk(0%, 10.9%, 60.9%, 38.8%)
CIE-LABlab(57.91, -3.51, 43.14)
CIE-LCHlch(57.91, 43.28, 94.65°)
OKLaboklab(63.6% -0.0124 0.0996)
OKLCHoklch(63.6% 0.1 97.1)
XYZxyz(23.7862, 25.8712, 8.1547)
Luminance0.2587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B3D #3D4E9C
analogous
#9C5B3D #9C8B3D #7E9C3D
triadic
#9C8B3D #3D9C8B #8B3D9C
tetradic
#9C8B3D #3D9C5B #3D4E9C #9C3D7E
square
#9C8B3D #3D9C5B #3D4E9C #9C3D7E
split-complementary
#9C8B3D #3D7E9C #5B3D9C
monochromatic
#443D1B #70642C #9C8B3D #BEAC58 #CFC284

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B3D#FFFFFF#000000##000000
##9C8B3D1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988835
Deuteranopia (green-blind)
#9C8E41
Tritanopia (blue-blind)
#A8817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b3d;
/* rgb */ color: rgb(156, 139, 61);
/* oklch */ color: oklch(63.6% 0.100 97.1);
Tailwind
colors: {
  custom: {
    50: '#bcac75',
    500: '#9c8b3d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b3d;
$custom-light: #bcac75;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b3d",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 61
  },
  "hsl": {
    "h": 49.263,
    "s": 43.779,
    "l": 42.549
  },
  "oklch": {
    "l": 0.63602,
    "c": 0.10036,
    "h": 97.1
  },
  "luminance": 0.2587
}

Semantic roles & 50–950 ramp

primary
#9C8B3D
secondary
#7C87B9
accent
#6BD454
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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