#9C8D43#9C8D43

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

Color values

HEX#9C8D43
RGBrgb(156, 141, 67)
HSLhsl(50, 40%, 44%)
HSVhsv(50, 57%, 61%)
CMYKcmyk(0%, 9.6%, 57.1%, 38.8%)
CIE-LABlab(58.53, -4.13, 40.89)
CIE-LCHlch(58.53, 41.10, 95.77°)
OKLaboklab(64.11% -0.0135 0.0955)
OKLCHoklch(64.11% 0.096 98)
XYZxyz(24.2492, 26.5239, 9.1514)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D43 #43529C
analogous
#9C6043 #9C8D43 #7E9C43
triadic
#9C8D43 #439C8D #8D439C
tetradic
#9C8D43 #439C60 #43529C #9C437E
square
#9C8D43 #439C60 #43529C #9C437E
split-complementary
#9C8D43 #437E9C #60439C
monochromatic
#46401E #716631 #9C8D43 #BBAC61 #CEC28C

Accessibility & contrast

On white

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

On black

6.30
#9C8D43 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D43
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D43#FFFFFF#000000##000000
##9C8D431.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3C
Deuteranopia (green-blind)
#9D8F46
Tritanopia (blue-blind)
#A7847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d43;
/* rgb */ color: rgb(156, 141, 67);
/* oklch */ color: oklch(64.1% 0.096 98.0);
Tailwind
colors: {
  custom: {
    50: '#bbae79',
    500: '#9c8d43',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d43;
$custom-light: #bbae79;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d43",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 67
  },
  "hsl": {
    "h": 49.888,
    "s": 39.91,
    "l": 43.725
  },
  "oklch": {
    "l": 0.64111,
    "c": 0.09648,
    "h": 98
  },
  "luminance": 0.26523
}

Semantic roles & 50–950 ramp

primary
#9C8D43
secondary
#828BB9
accent
#6CD058
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8D43

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

Preview Lab → · Contrast checker → · Palette generator →

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