#9C8D2B#9C8D2B

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

Color values

HEX#9C8D2B
RGBrgb(156, 141, 43)
HSLhsl(52, 57%, 39%)
HSVhsv(52, 72%, 61%)
CMYKcmyk(0%, 9.6%, 72.4%, 38.8%)
CIE-LABlab(58.31, -5.74, 51.55)
CIE-LCHlch(58.31, 51.86, 96.35°)
OKLaboklab(63.87% -0.0209 0.1145)
OKLCHoklch(63.87% 0.116 100.4)
XYZxyz(23.6723, 26.2932, 6.1132)
Luminance0.2629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D2B #2B3A9C
analogous
#9C552B #9C8D2B #739C2B
triadic
#9C8D2B #2B9C8D #8D2B9C
tetradic
#9C8D2B #2B9C55 #2B3A9C #9C2B73
square
#9C8D2B #2B9C55 #2B3A9C #9C2B73
split-complementary
#9C8D2B #2B739C #552B9C
monochromatic
#3C3611 #6C621E #9C8D2B #C9B63B #D6C86B

Accessibility & contrast

On white

3.36
#9C8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8D2B#FFFFFF#000000##000000
##9C8D2B1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c8d2b;
/* rgb */ color: rgb(156, 141, 43);
/* oklch */ color: oklch(63.9% 0.116 100.4);
Tailwind
colors: {
  custom: {
    50: '#bdae6b',
    500: '#9c8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d2b;
$custom-light: #bdae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d2b",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 52.035,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63869,
    "c": 0.11639,
    "h": 100.4
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

primary
#9C8D2B
secondary
#6671BD
accent
#5CE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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