#9C8A2C#9C8A2C

#9C8A2C is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.113 H 98.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9C8A2C
RGBrgb(156, 138, 44)
HSLhsl(50, 56%, 39%)
HSVhsv(50, 72%, 61%)
CMYKcmyk(0%, 11.5%, 71.8%, 38.8%)
CIE-LABlab(57.49, -4.04, 50.32)
CIE-LCHlch(57.49, 50.49, 94.59°)
OKLaboklab(63.22% -0.016 0.1121)
OKLCHoklch(63.22% 0.113 98.1)
XYZxyz(23.2545, 25.4279, 6.0656)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A2C #2C3E9C
analogous
#9C522C #9C8A2C #769C2C
triadic
#9C8A2C #2C9C8A #8A2C9C
tetradic
#9C8A2C #2C9C52 #2C3E9C #9C2C76
square
#9C8A2C #2C9C52 #2C3E9C #9C2C76
split-complementary
#9C8A2C #2C769C #522C9C
monochromatic
#3D3611 #6C601F #9C8A2C #C8B23D #D6C56D

Accessibility & contrast

On white

3.45
#9C8A2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#9C8A2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A2C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A2C#FFFFFF#000000##000000
##9C8A2C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98871E
Deuteranopia (green-blind)
#9D8D32
Tritanopia (blue-blind)
#A88077
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9c8a2c;
/* rgb */ color: rgb(156, 138, 44);
/* oklch */ color: oklch(63.2% 0.113 98.1);
Tailwind
colors: {
  custom: {
    50: '#bdab6b',
    500: '#9c8a2c',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a2c;
$custom-light: #bdab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a2c",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 44
  },
  "hsl": {
    "h": 50.357,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63218,
    "c": 0.11323,
    "h": 98.1
  },
  "luminance": 0.25427
}

Semantic roles & 50–950 ramp

primary
#9C8A2C
secondary
#6775BD
accent
#61DF49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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