#9D985A#9D985A

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

Color values

HEX#9D985A
RGBrgb(157, 152, 90)
HSLhsl(56, 27%, 48%)
HSVhsv(56, 43%, 62%)
CMYKcmyk(0%, 3.2%, 42.7%, 38.4%)
CIE-LABlab(61.97, -7.47, 33.22)
CIE-LCHlch(61.97, 34.04, 102.67°)
OKLaboklab(66.95% -0.0207 0.0805)
OKLCHoklch(66.95% 0.083 104.4)
XYZxyz(26.9788, 30.3635, 14.1104)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D985A #5A5F9D
analogous
#9D765A #9D985A #809D5A
triadic
#9D985A #5A9D98 #985A9D
tetradic
#9D985A #5A9D76 #5A5F9D #9D5A80
square
#9D985A #5A9D76 #5A5F9D #9D5A80
split-complementary
#9D985A #5A809D #765A9D
monochromatic
#4F4D2D #767244 #9D985A #B5B17F #CCC9A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D985A#FFFFFF#000000##000000
##9D985A1.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)
#A29455
Deuteranopia (green-blind)
#A4975D
Tritanopia (blue-blind)
#A69089
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d985a;
/* rgb */ color: rgb(157, 152, 90);
/* oklch */ color: oklch(67.0% 0.083 104.4);
Tailwind
colors: {
  custom: {
    50: '#bbb68a',
    500: '#9d985a',
    950: '#000000',
  },
}
SCSS
$custom: #9d985a;
$custom-light: #bbb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d985a",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 90
  },
  "hsl": {
    "h": 55.522,
    "s": 27.126,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66952,
    "c": 0.08314,
    "h": 104.4
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#9D985A
secondary
#999CBA
accent
#6BC364
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D985A

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

Preview Lab → · Contrast checker → · Palette generator →

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