#9C8F32#9C8F32

#9C8F32 is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.113 H 101.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8F32
RGBrgb(156, 143, 50)
HSLhsl(53, 51%, 40%)
HSVhsv(53, 68%, 61%)
CMYKcmyk(0%, 8.3%, 67.9%, 38.8%)
CIE-LABlab(58.92, -6.43, 49.26)
CIE-LCHlch(58.92, 49.67, 97.44°)
OKLaboklab(64.37% -0.0221 0.1109)
OKLCHoklch(64.37% 0.113 101.3)
XYZxyz(24.1095, 26.9442, 6.9478)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8F32 #323F9C
analogous
#9C5A32 #9C8F32 #749C32
triadic
#9C8F32 #329C8F #8F329C
tetradic
#9C8F32 #329C5A #323F9C #9C3274
square
#9C8F32 #329C5A #323F9C #9C3274
split-complementary
#9C8F32 #32749C #5A329C
monochromatic
#3F3A14 #6E6523 #9C8F32 #C4B547 #D3C775

Accessibility & contrast

On white

3.29
#9C8F32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8F32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8F32
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8F32#FFFFFF#000000##000000
##9C8F321.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8B26
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#A8857C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8f32;
/* rgb */ color: rgb(156, 143, 50);
/* oklch */ color: oklch(64.4% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#bcaf6f',
    500: '#9c8f32',
    950: '#000000',
  },
}
SCSS
$custom: #9c8f32;
$custom-light: #bcaf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8f32",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 50
  },
  "hsl": {
    "h": 52.642,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.11309,
    "h": 101.3
  },
  "luminance": 0.26943
}

Semantic roles & 50–950 ramp

primary
#9C8F32
secondary
#6F78BB
accent
#5EDB4D
background
#FBFAF6
surface
#F7F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #9C8F32

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

Preview Lab → · Contrast checker → · Palette generator →

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