#9C8D2C#9C8D2C

#9C8D2C is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.116 H 100.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9C8D2C
RGBrgb(156, 141, 44)
HSLhsl(52, 56%, 39%)
HSVhsv(52, 72%, 61%)
CMYKcmyk(0%, 9.6%, 71.8%, 38.8%)
CIE-LABlab(58.32, -5.68, 51.15)
CIE-LCHlch(58.32, 51.47, 96.34°)
OKLaboklab(63.88% -0.0207 0.1138)
OKLCHoklch(63.88% 0.116 100.3)
XYZxyz(23.6909, 26.3006, 6.2110)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D2C #2C3B9C
analogous
#9C552C #9C8D2C #739C2C
triadic
#9C8D2C #2C9C8D #8D2C9C
tetradic
#9C8D2C #2C9C55 #2C3B9C #9C2C73
square
#9C8D2C #2C9C55 #2C3B9C #9C2C73
split-complementary
#9C8D2C #2C739C #552C9C
monochromatic
#3D3711 #6C621F #9C8D2C #C8B63D #D6C86D

Accessibility & contrast

On white

3.35
#9C8D2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#9C8D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D2C
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D2C#FFFFFF#000000##000000
##9C8D2C1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891D
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d2c;
/* rgb */ color: rgb(156, 141, 44);
/* oklch */ color: oklch(63.9% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#bdae6c',
    500: '#9c8d2c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d2c;
$custom-light: #bdae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d2c",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 51.964,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63877,
    "c": 0.1157,
    "h": 100.3
  },
  "luminance": 0.263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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