#9C8C2C#9C8C2C

#9C8C2C is a light, moderate yellow. Relative luminance 0.260; OKLCH L 63.7% C 0.115 H 99.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9C8C2C
RGBrgb(156, 140, 44)
HSLhsl(51, 56%, 39%)
HSVhsv(51, 72%, 61%)
CMYKcmyk(0%, 10.3%, 71.8%, 38.8%)
CIE-LABlab(58.04, -5.14, 50.87)
CIE-LCHlch(58.04, 51.13, 95.77°)
OKLaboklab(63.66% -0.0191 0.1133)
OKLCHoklch(63.66% 0.115 99.6)
XYZxyz(23.5441, 26.0070, 6.1621)
Luminance0.2601 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C2C #2C3C9C
analogous
#9C542C #9C8C2C #749C2C
triadic
#9C8C2C #2C9C8C #8C2C9C
tetradic
#9C8C2C #2C9C54 #2C3C9C #9C2C74
square
#9C8C2C #2C9C54 #2C3C9C #9C2C74
split-complementary
#9C8C2C #2C749C #542C9C
monochromatic
#3D3611 #6C611F #9C8C2C #C8B43D #D6C76D

Accessibility & contrast

On white

3.39
#9C8C2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#9C8C2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8C2C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8C2C#FFFFFF#000000##000000
##9C8C2C1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A881D
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8c2c;
/* rgb */ color: rgb(156, 140, 44);
/* oklch */ color: oklch(63.7% 0.115 99.6);
Tailwind
colors: {
  custom: {
    50: '#bdad6b',
    500: '#9c8c2c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c2c;
$custom-light: #bdad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c2c",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 44
  },
  "hsl": {
    "h": 51.429,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63657,
    "c": 0.11486,
    "h": 99.6
  },
  "luminance": 0.26006
}

Semantic roles & 50–950 ramp

primary
#9C8C2C
secondary
#6773BD
accent
#5EDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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