#9C8C2A#9C8C2A

#9C8C2A 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#9C8C2A
RGBrgb(156, 140, 42)
HSLhsl(52, 58%, 39%)
HSVhsv(52, 73%, 61%)
CMYKcmyk(0%, 10.3%, 73.1%, 38.8%)
CIE-LABlab(58.03, -5.24, 51.66)
CIE-LCHlch(58.03, 51.93, 95.79°)
OKLaboklab(63.64% -0.0196 0.1145)
OKLCHoklch(63.64% 0.116 99.7)
XYZxyz(23.5074, 25.9924, 5.9689)
Luminance0.2599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8C2A #2A3A9C
analogous
#9C532A #9C8C2A #739C2A
triadic
#9C8C2A #2A9C8C #8C2A9C
tetradic
#9C8C2A #2A9C53 #2A3A9C #9C2A73
square
#9C8C2A #2A9C53 #2A3A9C #9C2A73
split-complementary
#9C8C2A #2A739C #532A9C
monochromatic
#3C3510 #6C611D #9C8C2A #CAB639 #D7C76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8C2A#FFFFFF#000000##000000
##9C8C2A1.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)
#9A881A
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#A88279
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8c2a;
/* rgb */ color: rgb(156, 140, 42);
/* oklch */ color: oklch(63.6% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#bdad6a',
    500: '#9c8c2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8c2a;
$custom-light: #bdad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8c2a",
  "rgb": {
    "r": 156,
    "g": 140,
    "b": 42
  },
  "hsl": {
    "h": 51.579,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63641,
    "c": 0.11621,
    "h": 99.7
  },
  "luminance": 0.25991
}

Semantic roles & 50–950 ramp

primary
#9C8C2A
secondary
#6571BD
accent
#5DE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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