#9C8B3F#9C8B3F

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

Color values

HEX#9C8B3F
RGBrgb(156, 139, 63)
HSLhsl(49, 42%, 43%)
HSVhsv(49, 60%, 61%)
CMYKcmyk(0%, 10.9%, 59.6%, 38.8%)
CIE-LABlab(57.94, -3.36, 42.19)
CIE-LCHlch(57.94, 42.32, 94.55°)
OKLaboklab(63.63% -0.0117 0.0978)
OKLCHoklch(63.63% 0.099 96.8)
XYZxyz(23.8411, 25.8931, 8.4437)
Luminance0.2589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B3F #3F509C
analogous
#9C5C3F #9C8B3F #7E9C3F
triadic
#9C8B3F #3F9C8B #8B3F9C
tetradic
#9C8B3F #3F9C5C #3F509C #9C3F7E
square
#9C8B3F #3F9C5C #3F509C #9C3F7E
split-complementary
#9C8B3F #3F7E9C #5C3F9C
monochromatic
#453D1C #70642D #9C8B3F #BDAB5B #CEC187

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8B3F#FFFFFF#000000##000000
##9C8B3F1.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)
#988837
Deuteranopia (green-blind)
#9C8E43
Tritanopia (blue-blind)
#A7827A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b3f;
/* rgb */ color: rgb(156, 139, 63);
/* oklch */ color: oklch(63.6% 0.099 96.8);
Tailwind
colors: {
  custom: {
    50: '#bcac77',
    500: '#9c8b3f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b3f;
$custom-light: #bcac77;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b3f",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 63
  },
  "hsl": {
    "h": 49.032,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63625,
    "c": 0.09852,
    "h": 96.8
  },
  "luminance": 0.25892
}

Semantic roles & 50–950 ramp

primary
#9C8B3F
secondary
#7E89B9
accent
#6CD256
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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