#9C8A3F#9C8A3F

#9C8A3F is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.098 H 96.0°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9C8A3F
RGBrgb(156, 138, 63)
HSLhsl(48, 42%, 43%)
HSVhsv(48, 60%, 61%)
CMYKcmyk(0%, 11.5%, 59.6%, 38.8%)
CIE-LABlab(57.66, -2.81, 41.87)
CIE-LCHlch(57.66, 41.97, 93.83°)
OKLaboklab(63.41% -0.0101 0.0972)
OKLCHoklch(63.41% 0.098 96)
XYZxyz(23.6969, 25.6048, 8.3957)
Luminance0.2560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A3F #3F519C
analogous
#9C5B3F #9C8A3F #7F9C3F
triadic
#9C8A3F #3F9C8A #8A3F9C
tetradic
#9C8A3F #3F9C5B #3F519C #9C3F7F
square
#9C8A3F #3F9C5B #3F519C #9C3F7F
split-complementary
#9C8A3F #3F7F9C #5B3F9C
monochromatic
#453D1C #70632D #9C8A3F #BDAA5B #CEC187

Accessibility & contrast

On white

3.43
#9C8A3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#9C8A3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A3F
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A3F#FFFFFF#000000##000000
##9C8A3F1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#978737
Deuteranopia (green-blind)
#9B8D42
Tritanopia (blue-blind)
#A88179
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a3f;
/* rgb */ color: rgb(156, 138, 63);
/* oklch */ color: oklch(63.4% 0.098 96.0);
Tailwind
colors: {
  custom: {
    50: '#bcab77',
    500: '#9c8a3f',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a3f;
$custom-light: #bcab77;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a3f",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 63
  },
  "hsl": {
    "h": 48.387,
    "s": 42.466,
    "l": 42.941
  },
  "oklch": {
    "l": 0.63407,
    "c": 0.09768,
    "h": 96
  },
  "luminance": 0.25604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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