#9C985B#9C985B

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

Color values

HEX#9C985B
RGBrgb(156, 152, 91)
HSLhsl(56, 26%, 48%)
HSVhsv(56, 42%, 61%)
CMYKcmyk(0%, 2.6%, 41.7%, 38.8%)
CIE-LABlab(61.90, -7.77, 32.58)
CIE-LCHlch(61.90, 33.49, 103.42°)
OKLaboklab(66.88% -0.0214 0.0792)
OKLCHoklch(66.88% 0.082 105.1)
XYZxyz(26.8273, 30.2804, 14.3270)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985B #5B5F9C
analogous
#9C775B #9C985B #7F9C5B
triadic
#9C985B #5B9C98 #985B9C
tetradic
#9C985B #5B9C77 #5B5F9C #9C5B7F
square
#9C985B #5B9C77 #5B5F9C #9C5B7F
split-complementary
#9C985B #5B7F9C #775B9C
monochromatic
#4F4D2E #757244 #9C985B #B5B180 #CBC9A6

Accessibility & contrast

On white

2.98
#9C985B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C985B#FFFFFF#000000##000000
##9C985B1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29456
Deuteranopia (green-blind)
#A3975E
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c985b;
/* rgb */ color: rgb(156, 152, 91);
/* oklch */ color: oklch(66.9% 0.082 105.1);
Tailwind
colors: {
  custom: {
    50: '#bab68a',
    500: '#9c985b',
    950: '#000000',
  },
}
SCSS
$custom: #9c985b;
$custom-light: #bab68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985b",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 56.308,
    "s": 26.316,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6688,
    "c": 0.08201,
    "h": 105.1
  },
  "luminance": 0.3028
}

Semantic roles & 50–950 ramp

primary
#9C985B
secondary
#9A9CB9
accent
#6BC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985B

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

Preview Lab → · Contrast checker → · Palette generator →

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