#9C985F#9C985F

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

Color values

HEX#9C985F
RGBrgb(156, 152, 95)
HSLhsl(56, 24%, 49%)
HSVhsv(56, 39%, 61%)
CMYKcmyk(0%, 2.6%, 39.1%, 38.8%)
CIE-LABlab(61.96, -7.32, 30.52)
CIE-LCHlch(61.96, 31.38, 103.48°)
OKLaboklab(66.95% -0.0198 0.0747)
OKLCHoklch(66.95% 0.077 104.8)
XYZxyz(27.0045, 30.3513, 15.2601)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985F #5F639C
analogous
#9C7A5F #9C985F #829C5F
triadic
#9C985F #5F9C98 #985F9C
tetradic
#9C985F #5F9C7A #5F639C #9C5F82
square
#9C985F #5F9C7A #5F639C #9C5F82
split-complementary
#9C985F #5F829C #7A5F9C
monochromatic
#504E31 #767348 #9C985F #B4B184 #CBC9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C985F#FFFFFF#000000##000000
##9C985F1.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)
#A1945B
Deuteranopia (green-blind)
#A39761
Tritanopia (blue-blind)
#A4918A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c985f;
/* rgb */ color: rgb(156, 152, 95);
/* oklch */ color: oklch(66.9% 0.077 104.8);
Tailwind
colors: {
  custom: {
    50: '#bab68d',
    500: '#9c985f',
    950: '#000000',
  },
}
SCSS
$custom: #9c985f;
$custom-light: #bab68d;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985f",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 56.066,
    "s": 24.303,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66948,
    "c": 0.07725,
    "h": 104.8
  },
  "luminance": 0.30351
}

Semantic roles & 50–950 ramp

primary
#9C985F
secondary
#9D9FBA
accent
#6DC167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985F

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

Preview Lab → · Contrast checker → · Palette generator →

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