#9C8A42#9C8A42

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

Color values

HEX#9C8A42
RGBrgb(156, 138, 66)
HSLhsl(48, 41%, 44%)
HSVhsv(48, 58%, 61%)
CMYKcmyk(0%, 11.5%, 57.7%, 38.8%)
CIE-LABlab(57.69, -2.57, 40.42)
CIE-LCHlch(57.69, 40.51, 93.63°)
OKLaboklab(63.44% -0.0091 0.0944)
OKLCHoklch(63.44% 0.095 95.5)
XYZxyz(23.7831, 25.6393, 8.8493)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A42 #42549C
analogous
#9C5D42 #9C8A42 #819C42
triadic
#9C8A42 #429C8A #8A429C
tetradic
#9C8A42 #429C5D #42549C #9C4281
square
#9C8A42 #429C5D #42549C #9C4281
split-complementary
#9C8A42 #42819C #5D429C
monochromatic
#463E1E #716430 #9C8A42 #BCA960 #CEC08B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A42#FFFFFF#000000##000000
##9C8A421.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)
#96873B
Deuteranopia (green-blind)
#9B8D45
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a42;
/* rgb */ color: rgb(156, 138, 66);
/* oklch */ color: oklch(63.4% 0.095 95.5);
Tailwind
colors: {
  custom: {
    50: '#bbab79',
    500: '#9c8a42',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a42;
$custom-light: #bbab79;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a42",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 66
  },
  "hsl": {
    "h": 48,
    "s": 40.541,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63444,
    "c": 0.09483,
    "h": 95.5
  },
  "luminance": 0.25638
}

Semantic roles & 50–950 ramp

primary
#9C8A42
secondary
#818CB9
accent
#70D057
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8A42

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

Preview Lab → · Contrast checker → · Palette generator →

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