#9C985A#9C985A

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

Color values

HEX#9C985A
RGBrgb(156, 152, 90)
HSLhsl(56, 27%, 48%)
HSVhsv(56, 42%, 61%)
CMYKcmyk(0%, 2.6%, 42.3%, 38.8%)
CIE-LABlab(61.88, -7.89, 33.09)
CIE-LCHlch(61.88, 34.02, 103.40°)
OKLaboklab(66.86% -0.0218 0.0803)
OKLCHoklch(66.86% 0.083 105.2)
XYZxyz(26.7845, 30.2632, 14.1013)
Luminance0.3026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C985A #5A5E9C
analogous
#9C775A #9C985A #7F9C5A
triadic
#9C985A #5A9C98 #985A9C
tetradic
#9C985A #5A9C77 #5A5E9C #9C5A7F
square
#9C985A #5A9C77 #5A5E9C #9C5A7F
split-complementary
#9C985A #5A7F9C #775A9C
monochromatic
#4E4C2D #757244 #9C985A #B5B27E #CBC9A5

Accessibility & contrast

On white

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

On black

7.05
#9C985A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C985A
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C985A#FFFFFF#000000##000000
##9C985A1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29455
Deuteranopia (green-blind)
#A4975D
Tritanopia (blue-blind)
#A59189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9c985a;
/* rgb */ color: rgb(156, 152, 90);
/* oklch */ color: oklch(66.9% 0.083 105.2);
Tailwind
colors: {
  custom: {
    50: '#bab68a',
    500: '#9c985a',
    950: '#000000',
  },
}
SCSS
$custom: #9c985a;
$custom-light: #bab68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9c985a",
  "rgb": {
    "r": 156,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 56.364,
    "s": 26.829,
    "l": 48.235
  },
  "oklch": {
    "l": 0.66863,
    "c": 0.08318,
    "h": 105.2
  },
  "luminance": 0.30263
}

Semantic roles & 50–950 ramp

primary
#9C985A
secondary
#999BB9
accent
#6AC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9C985A

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

Preview Lab → · Contrast checker → · Palette generator →

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