#9C8E41#9C8E41

#9C8E41 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.3% C 0.099 H 99.1°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9C8E41
RGBrgb(156, 142, 65)
HSLhsl(51, 41%, 43%)
HSVhsv(51, 58%, 61%)
CMYKcmyk(0%, 9%, 58.3%, 38.8%)
CIE-LABlab(58.79, -4.84, 42.18)
CIE-LCHlch(58.79, 42.45, 96.55°)
OKLaboklab(64.31% -0.0158 0.0981)
OKLCHoklch(64.31% 0.099 99.1)
XYZxyz(24.3383, 26.7966, 8.8902)
Luminance0.2680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8E41 #414F9C
analogous
#9C6041 #9C8E41 #7C9C41
triadic
#9C8E41 #419C8E #8E419C
tetradic
#9C8E41 #419C60 #414F9C #9C417C
square
#9C8E41 #419C60 #414F9C #9C417C
split-complementary
#9C8E41 #417C9C #60419C
monochromatic
#463F1D #71672F #9C8E41 #BCAE5E #CEC389

Accessibility & contrast

On white

3.30
#9C8E41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#9C8E41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8E41
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8E41#FFFFFF#000000##000000
##9C8E411.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#9E9045
Tritanopia (blue-blind)
#A7857D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8e41;
/* rgb */ color: rgb(156, 142, 65);
/* oklch */ color: oklch(64.3% 0.099 99.1);
Tailwind
colors: {
  custom: {
    50: '#bbae78',
    500: '#9c8e41',
    950: '#000000',
  },
}
SCSS
$custom: #9c8e41;
$custom-light: #bbae78;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8e41",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 65
  },
  "hsl": {
    "h": 50.769,
    "s": 41.176,
    "l": 43.333
  },
  "oklch": {
    "l": 0.64305,
    "c": 0.09931,
    "h": 99.1
  },
  "luminance": 0.26796
}

Semantic roles & 50–950 ramp

primary
#9C8E41
secondary
#8089B9
accent
#6AD157
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9C8E41

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

Preview Lab → · Contrast checker → · Palette generator →

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