#9C8A41#9C8A41

#9C8A41 is a light, moderate yellow. Relative luminance 0.256; OKLCH L 63.4% C 0.096 H 95.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C8A41
RGBrgb(156, 138, 65)
HSLhsl(48, 41%, 43%)
HSVhsv(48, 58%, 61%)
CMYKcmyk(0%, 11.5%, 58.3%, 38.8%)
CIE-LABlab(57.68, -2.65, 40.91)
CIE-LCHlch(57.68, 41.00, 93.70°)
OKLaboklab(63.43% -0.0094 0.0953)
OKLCHoklch(63.43% 0.096 95.7)
XYZxyz(23.7539, 25.6276, 8.6954)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A41 #41539C
analogous
#9C5C41 #9C8A41 #809C41
triadic
#9C8A41 #419C8A #8A419C
tetradic
#9C8A41 #419C5C #41539C #9C4180
square
#9C8A41 #419C5C #41539C #9C4180
split-complementary
#9C8A41 #41809C #5C419C
monochromatic
#463E1D #71642F #9C8A41 #BCA95E #CEC089

Accessibility & contrast

On white

3.43
#9C8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#9C8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8A41
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8A41#FFFFFF#000000##000000
##9C8A411.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97873A
Deuteranopia (green-blind)
#9B8D44
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a41;
/* rgb */ color: rgb(156, 138, 65);
/* oklch */ color: oklch(63.4% 0.096 95.7);
Tailwind
colors: {
  custom: {
    50: '#bcab78',
    500: '#9c8a41',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a41;
$custom-light: #bcab78;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a41",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 48.132,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.63431,
    "c": 0.09579,
    "h": 95.7
  },
  "luminance": 0.25627
}

Semantic roles & 50–950 ramp

primary
#9C8A41
secondary
#808BB9
accent
#6FD157
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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