#9C8B2A#9C8B2A

#9C8B2A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.4% C 0.115 H 99.0°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#9C8B2A
RGBrgb(156, 139, 42)
HSLhsl(51, 58%, 39%)
HSVhsv(51, 73%, 61%)
CMYKcmyk(0%, 10.9%, 73.1%, 38.8%)
CIE-LABlab(57.75, -4.70, 51.39)
CIE-LCHlch(57.75, 51.60, 95.22°)
OKLaboklab(63.42% -0.0181 0.114)
OKLCHoklch(63.42% 0.115 99)
XYZxyz(23.3620, 25.7015, 5.9204)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8B2A #2A3B9C
analogous
#9C522A #9C8B2A #749C2A
triadic
#9C8B2A #2A9C8B #8B2A9C
tetradic
#9C8B2A #2A9C52 #2A3B9C #9C2A74
square
#9C8B2A #2A9C52 #2A3B9C #9C2A74
split-complementary
#9C8B2A #2A749C #522A9C
monochromatic
#3C3510 #6C601D #9C8B2A #CAB439 #D7C76A

Accessibility & contrast

On white

3.42
#9C8B2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#9C8B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8B2A
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8B2A#FFFFFF#000000##000000
##9C8B2A1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871B
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#A88078
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8b2a;
/* rgb */ color: rgb(156, 139, 42);
/* oklch */ color: oklch(63.4% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#bdac6a',
    500: '#9c8b2a',
    950: '#000000',
  },
}
SCSS
$custom: #9c8b2a;
$custom-light: #bdac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8b2a",
  "rgb": {
    "r": 156,
    "g": 139,
    "b": 42
  },
  "hsl": {
    "h": 51.053,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63422,
    "c": 0.1154,
    "h": 99
  },
  "luminance": 0.257
}

Semantic roles & 50–950 ramp

primary
#9C8B2A
secondary
#6572BD
accent
#5EE147
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #9C8B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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