#9C985C#9C985C

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

Color values

HEX#9C985C
RGBrgb(156, 152, 92)
HSLhsl(56, 26%, 49%)
HSVhsv(56, 41%, 61%)
CMYKcmyk(0%, 2.6%, 41%, 38.8%)
CIE-LABlab(61.91, -7.66, 32.06)
CIE-LCHlch(61.91, 32.97, 103.44°)
OKLaboklab(66.9% -0.021 0.0781)
OKLCHoklch(66.9% 0.081 105.1)
XYZxyz(26.8708, 30.2978, 14.5557)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985C #5C609C
analogous
#9C785C #9C985C #809C5C
triadic
#9C985C #5C9C98 #985C9C
tetradic
#9C985C #5C9C78 #5C609C #9C5C80
square
#9C985C #5C9C78 #5C609C #9C5C80
split-complementary
#9C985C #5C809C #785C9C
monochromatic
#4F4D2F #767245 #9C985C #B5B181 #CBC9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C985C#FFFFFF#000000##000000
##9C985C1.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)
#A29457
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9c985c;
/* rgb */ color: rgb(156, 152, 92);
/* oklch */ color: oklch(66.9% 0.081 105.1);
Tailwind
colors: {
  custom: {
    50: '#bab68b',
    500: '#9c985c',
    950: '#000000',
  },
}
SCSS
$custom: #9c985c;
$custom-light: #bab68b;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985c",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 56.25,
    "s": 25.806,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66897,
    "c": 0.08083,
    "h": 105.1
  },
  "luminance": 0.30297
}

Semantic roles & 50–950 ramp

primary
#9C985C
secondary
#9B9CB9
accent
#6BC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985C

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

Preview Lab → · Contrast checker → · Palette generator →

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