#9C8D59#9C8D59

#9C8D59 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.073 H 93.9°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9C8D59
RGBrgb(156, 141, 89)
HSLhsl(47, 27%, 48%)
HSVhsv(47, 43%, 61%)
CMYKcmyk(0%, 9.6%, 42.9%, 38.8%)
CIE-LABlab(58.83, -2.00, 29.75)
CIE-LCHlch(58.83, 29.82, 93.84°)
OKLaboklab(64.44% -0.0049 0.0726)
OKLCHoklch(64.44% 0.073 93.9)
XYZxyz(25.0390, 26.8398, 13.3109)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8D59 #59689C
analogous
#9C6B59 #9C8D59 #899C59
triadic
#9C8D59 #599C8D #8D599C
tetradic
#9C8D59 #599C6B #59689C #9C5989
square
#9C8D59 #599C6B #59689C #9C5989
split-complementary
#9C8D59 #59899C #6B599C
monochromatic
#4E472D #756A43 #9C8D59 #B5A87D #CBC2A4

Accessibility & contrast

On white

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

On black

6.37
#9C8D59 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9C8D59
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8D59#FFFFFF#000000##000000
##9C8D591.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B55
Deuteranopia (green-blind)
#9B905B
Tritanopia (blue-blind)
#A68680
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9c8d59;
/* rgb */ color: rgb(156, 141, 89);
/* oklch */ color: oklch(64.4% 0.073 93.9);
Tailwind
colors: {
  custom: {
    50: '#baae88',
    500: '#9c8d59',
    950: '#000000',
  },
}
SCSS
$custom: #9c8d59;
$custom-light: #baae88;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8d59",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 89
  },
  "hsl": {
    "h": 46.567,
    "s": 27.347,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64439,
    "c": 0.07279,
    "h": 93.9
  },
  "luminance": 0.26839
}

Semantic roles & 50–950 ramp

primary
#9C8D59
secondary
#989FB9
accent
#7AC464
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9C8D59

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

Preview Lab → · Contrast checker → · Palette generator →

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