#9C985D#9C985D

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

Color values

HEX#9C985D
RGBrgb(156, 152, 93)
HSLhsl(56, 25%, 49%)
HSVhsv(56, 40%, 61%)
CMYKcmyk(0%, 2.6%, 40.4%, 38.8%)
CIE-LABlab(61.93, -7.55, 31.55)
CIE-LCHlch(61.93, 32.44, 103.45°)
OKLaboklab(66.91% -0.0206 0.0769)
OKLCHoklch(66.91% 0.08 105)
XYZxyz(26.9148, 30.3154, 14.7874)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985D #5D619C
analogous
#9C795D #9C985D #819C5D
triadic
#9C985D #5D9C98 #985D9C
tetradic
#9C985D #5D9C79 #5D619C #9C5D81
square
#9C985D #5D9C79 #5D619C #9C5D81
split-complementary
#9C985D #5D819C #795D9C
monochromatic
#4F4D2F #767346 #9C985D #B4B182 #CBC9A8

Accessibility & contrast

On white

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

On black

7.06
#9C985D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C985D
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C985D#FFFFFF#000000##000000
##9C985D1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19459
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A49189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c985d;
/* rgb */ color: rgb(156, 152, 93);
/* oklch */ color: oklch(66.9% 0.080 105.0);
Tailwind
colors: {
  custom: {
    50: '#bab68c',
    500: '#9c985d',
    950: '#000000',
  },
}
SCSS
$custom: #9c985d;
$custom-light: #bab68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985d",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 56.19,
    "s": 25.301,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66913,
    "c": 0.07965,
    "h": 105
  },
  "luminance": 0.30315
}

Semantic roles & 50–950 ramp

primary
#9C985D
secondary
#9B9DB9
accent
#6CC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985D

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

Preview Lab → · Contrast checker → · Palette generator →

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