#9C8D2D#9C8D2D

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

Color values

HEX#9C8D2D
RGBrgb(156, 141, 45)
HSLhsl(52, 55%, 39%)
HSVhsv(52, 71%, 61%)
CMYKcmyk(0%, 9.6%, 71.2%, 38.8%)
CIE-LABlab(58.33, -5.63, 50.75)
CIE-LCHlch(58.33, 51.06, 96.33°)
OKLaboklab(63.89% -0.0204 0.1132)
OKLCHoklch(63.89% 0.115 100.2)
XYZxyz(23.7099, 26.3082, 6.3112)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D2D #2D3C9C
analogous
#9C562D #9C8D2D #749C2D
triadic
#9C8D2D #2D9C8D #8D2D9C
tetradic
#9C8D2D #2D9C56 #2D3C9C #9C2D74
square
#9C8D2D #2D9C56 #2D3C9C #9C2D74
split-complementary
#9C8D2D #2D749C #562D9C
monochromatic
#3D3712 #6D621F #9C8D2D #C8B53F #D5C76E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D2D#FFFFFF#000000##000000
##9C8D2D1.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)
#9B891F
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#A8837A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #9c8d2d;
/* rgb */ color: rgb(156, 141, 45);
/* oklch */ color: oklch(63.9% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#bcae6c',
    500: '#9c8d2d',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d2d;
$custom-light: #bcae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d2d",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 45
  },
  "hsl": {
    "h": 51.892,
    "s": 55.224,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63885,
    "c": 0.11501,
    "h": 100.2
  },
  "luminance": 0.26307
}

Semantic roles & 50–950 ramp

primary
#9C8D2D
secondary
#6874BC
accent
#5DDF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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