#9C985E#9C985E

#9C985E is a light, moderate yellow. Relative luminance 0.303; OKLCH L 66.9% C 0.078 H 104.9°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9C985E
RGBrgb(156, 152, 94)
HSLhsl(56, 25%, 49%)
HSVhsv(56, 40%, 61%)
CMYKcmyk(0%, 2.6%, 39.7%, 38.8%)
CIE-LABlab(61.94, -7.43, 31.04)
CIE-LCHlch(61.94, 31.91, 103.47°)
OKLaboklab(66.93% -0.0202 0.0758)
OKLCHoklch(66.93% 0.078 104.9)
XYZxyz(26.9593, 30.3332, 15.0222)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985E #5E629C
analogous
#9C795E #9C985E #819C5E
triadic
#9C985E #5E9C98 #985E9C
tetradic
#9C985E #5E9C79 #5E629C #9C5E81
square
#9C985E #5E9C79 #5E629C #9C5E81
split-complementary
#9C985E #5E819C #795E9C
monochromatic
#504E30 #767347 #9C985E #B4B183 #CBC9A9

Accessibility & contrast

On white

2.97
#9C985E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#9C985E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C985E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C985E#FFFFFF#000000##000000
##9C985E1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945A
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#A4918A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c985e;
/* rgb */ color: rgb(156, 152, 94);
/* oklch */ color: oklch(66.9% 0.078 104.9);
Tailwind
colors: {
  custom: {
    50: '#bab68c',
    500: '#9c985e',
    950: '#000000',
  },
}
SCSS
$custom: #9c985e;
$custom-light: #bab68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985e",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 56.129,
    "s": 24.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.66931,
    "c": 0.07845,
    "h": 104.9
  },
  "luminance": 0.30333
}

Semantic roles & 50–950 ramp

primary
#9C985E
secondary
#9C9EBA
accent
#6CC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985E

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

Preview Lab → · Contrast checker → · Palette generator →

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