#9C8A45#9C8A45

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

Color values

HEX#9C8A45
RGBrgb(156, 138, 69)
HSLhsl(48, 39%, 44%)
HSVhsv(48, 56%, 61%)
CMYKcmyk(0%, 11.5%, 55.8%, 38.8%)
CIE-LABlab(57.73, -2.32, 38.95)
CIE-LCHlch(57.73, 39.02, 93.40°)
OKLaboklab(63.48% -0.008 0.0915)
OKLCHoklch(63.48% 0.092 95)
XYZxyz(23.8739, 25.6756, 9.3274)
Luminance0.2567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8A45 #45579C
analogous
#9C5F45 #9C8A45 #839C45
triadic
#9C8A45 #459C8A #8A459C
tetradic
#9C8A45 #459C5F #45579C #9C4583
square
#9C8A45 #459C5F #45579C #9C4583
split-complementary
#9C8A45 #45839C #5F459C
monochromatic
#473F1F #726432 #9C8A45 #BAA864 #CDC08E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C8A45#FFFFFF#000000##000000
##9C8A451.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96873F
Deuteranopia (green-blind)
#9B8D48
Tritanopia (blue-blind)
#A7817A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #9c8a45;
/* rgb */ color: rgb(156, 138, 69);
/* oklch */ color: oklch(63.5% 0.092 95.0);
Tailwind
colors: {
  custom: {
    50: '#bbab7b',
    500: '#9c8a45',
    950: '#000000',
  },
}
SCSS
$custom: #9c8a45;
$custom-light: #bbab7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8a45",
  "rgb": {
    "r": 156,
    "g": 138,
    "b": 69
  },
  "hsl": {
    "h": 47.586,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.63483,
    "c": 0.09189,
    "h": 95
  },
  "luminance": 0.25675
}

Semantic roles & 50–950 ramp

primary
#9C8A45
secondary
#848FB9
accent
#71CF59
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8A45

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

Preview Lab → · Contrast checker → · Palette generator →

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