#9C8A47#9C8A47

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

Color values

HEX#9C8A47
RGBrgb(156, 138, 71)
HSLhsl(47, 37%, 45%)
HSVhsv(47, 54%, 61%)
CMYKcmyk(0%, 11.5%, 54.5%, 38.8%)
CIE-LABlab(57.75, -2.14, 37.96)
CIE-LCHlch(57.75, 38.02, 93.23°)
OKLaboklab(63.51% -0.0073 0.0896)
OKLCHoklch(63.51% 0.09 94.6)
XYZxyz(23.9370, 25.7009, 9.6599)
Luminance0.2570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A47 #47599C
analogous
#9C6047 #9C8A47 #849C47
triadic
#9C8A47 #479C8A #8A479C
tetradic
#9C8A47 #479C60 #47599C #9C4784
square
#9C8A47 #479C60 #47599C #9C4784
split-complementary
#9C8A47 #47849C #60479C
monochromatic
#484021 #726534 #9C8A47 #BAA867 #CDC091

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A47#FFFFFF#000000##000000
##9C8A471.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)
#968741
Deuteranopia (green-blind)
#9B8D4A
Tritanopia (blue-blind)
#A7817B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a47;
/* rgb */ color: rgb(156, 138, 71);
/* oklch */ color: oklch(63.5% 0.090 94.6);
Tailwind
colors: {
  custom: {
    50: '#bbab7c',
    500: '#9c8a47',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a47;
$custom-light: #bbab7c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a47",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 71
  },
  "hsl": {
    "h": 47.294,
    "s": 37.445,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.08987,
    "h": 94.6
  },
  "luminance": 0.257
}

Semantic roles & 50–950 ramp

primary
#9C8A47
secondary
#8691B8
accent
#73CD5A
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8A47

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

Preview Lab → · Contrast checker → · Palette generator →

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