#9C8D60#9C8D60

#9C8D60 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.6% C 0.064 H 91.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9C8D60
RGBrgb(156, 141, 96)
HSLhsl(45, 24%, 49%)
HSVhsv(45, 38%, 61%)
CMYKcmyk(0%, 9.6%, 38.5%, 38.8%)
CIE-LABlab(58.94, -1.18, 26.07)
CIE-LCHlch(58.94, 26.09, 92.60°)
OKLaboklab(64.57% -0.002 0.0644)
OKLCHoklch(64.57% 0.064 91.8)
XYZxyz(25.3470, 26.9631, 14.9333)
Luminance0.2696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D60 #606F9C
analogous
#9C6F60 #9C8D60 #8D9C60
triadic
#9C8D60 #609C8D #8D609C
tetradic
#9C8D60 #609C6F #606F9C #9C608D
square
#9C8D60 #609C6F #606F9C #9C608D
split-complementary
#9C8D60 #608D9C #6F609C
monochromatic
#504931 #766B49 #9C8D60 #B4A885 #CBC3AB

Accessibility & contrast

On white

3.29
#9C8D60 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9C8D60 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D60
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D60#FFFFFF#000000##000000
##9C8D601.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5D
Deuteranopia (green-blind)
#9A9062
Tritanopia (blue-blind)
#A58681
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9c8d60;
/* rgb */ color: rgb(156, 141, 96);
/* oklch */ color: oklch(64.6% 0.064 91.8);
Tailwind
colors: {
  custom: {
    50: '#baae8d',
    500: '#9c8d60',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d60;
$custom-light: #baae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d60",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 96
  },
  "hsl": {
    "h": 45,
    "s": 23.81,
    "l": 49.412
  },
  "oklch": {
    "l": 0.64567,
    "c": 0.06448,
    "h": 91.8
  },
  "luminance": 0.26962
}

Semantic roles & 50–950 ramp

primary
#9C8D60
secondary
#9EA5BA
accent
#7EC068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100C
muted
#817F7D

Preview Lab

Preview with #9C8D60

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

Preview Lab → · Contrast checker → · Palette generator →

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