#9C8C2B#9C8C2B

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

Color values

HEX#9C8C2B
RGBrgb(156, 140, 43)
HSLhsl(52, 57%, 39%)
HSVhsv(52, 72%, 61%)
CMYKcmyk(0%, 10.3%, 72.4%, 38.8%)
CIE-LABlab(58.04, -5.19, 51.27)
CIE-LCHlch(58.04, 51.53, 95.78°)
OKLaboklab(63.65% -0.0194 0.1139)
OKLCHoklch(63.65% 0.116 99.7)
XYZxyz(23.5255, 25.9996, 6.0643)
Luminance0.2600 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C2B #2B3B9C
analogous
#9C542B #9C8C2B #749C2B
triadic
#9C8C2B #2B9C8C #8C2B9C
tetradic
#9C8C2B #2B9C54 #2B3B9C #9C2B74
square
#9C8C2B #2B9C54 #2B3B9C #9C2B74
split-complementary
#9C8C2B #2B749C #542B9C
monochromatic
#3C3611 #6C611E #9C8C2B #C9B53B #D6C76B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8C2B#FFFFFF#000000##000000
##9C8C2B1.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)
#9A881C
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8c2b;
/* rgb */ color: rgb(156, 140, 43);
/* oklch */ color: oklch(63.6% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#bdad6b',
    500: '#9c8c2b',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c2b;
$custom-light: #bdad6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c2b",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 43
  },
  "hsl": {
    "h": 51.504,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63649,
    "c": 0.11555,
    "h": 99.7
  },
  "luminance": 0.25999
}

Semantic roles & 50–950 ramp

primary
#9C8C2B
secondary
#6672BD
accent
#5DE048
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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