#9C8D45#9C8D45

#9C8D45 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.095 H 97.8°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9C8D45
RGBrgb(156, 141, 69)
HSLhsl(50, 39%, 44%)
HSVhsv(50, 56%, 61%)
CMYKcmyk(0%, 9.6%, 55.8%, 38.8%)
CIE-LABlab(58.55, -3.97, 39.92)
CIE-LCHlch(58.55, 40.12, 95.68°)
OKLaboklab(64.14% -0.0128 0.0936)
OKLCHoklch(64.14% 0.095 97.8)
XYZxyz(24.3102, 26.5483, 9.4729)
Luminance0.2655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D45 #45549C
analogous
#9C6245 #9C8D45 #809C45
triadic
#9C8D45 #459C8D #8D459C
tetradic
#9C8D45 #459C62 #45549C #9C4580
square
#9C8D45 #459C62 #45549C #9C4580
split-complementary
#9C8D45 #45809C #62459C
monochromatic
#47401F #726732 #9C8D45 #BAAB64 #CDC28E

Accessibility & contrast

On white

3.33
#9C8D45 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#9C8D45 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D45
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D45#FFFFFF#000000##000000
##9C8D451.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3E
Deuteranopia (green-blind)
#9D8F48
Tritanopia (blue-blind)
#A7847D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d45;
/* rgb */ color: rgb(156, 141, 69);
/* oklch */ color: oklch(64.1% 0.095 97.8);
Tailwind
colors: {
  custom: {
    50: '#bbae7b',
    500: '#9c8d45',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d45;
$custom-light: #bbae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d45",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 69
  },
  "hsl": {
    "h": 49.655,
    "s": 38.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.64136,
    "c": 0.09451,
    "h": 97.8
  },
  "luminance": 0.26547
}

Semantic roles & 50–950 ramp

primary
#9C8D45
secondary
#848DB9
accent
#6DCF59
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D45

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

Preview Lab → · Contrast checker → · Palette generator →

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