#9D985D#9D985D

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

Color values

HEX#9D985D
RGBrgb(157, 152, 93)
HSLhsl(55, 26%, 49%)
HSVhsv(55, 41%, 62%)
CMYKcmyk(0%, 3.2%, 40.8%, 38.4%)
CIE-LABlab(62.01, -7.13, 31.68)
CIE-LCHlch(62.01, 32.47, 102.68°)
OKLaboklab(67% -0.0194 0.0772)
OKLCHoklch(67% 0.08 104.1)
XYZxyz(27.1091, 30.4156, 14.7966)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D985D #5D629D
analogous
#9D785D #9D985D #829D5D
triadic
#9D985D #5D9D98 #985D9D
tetradic
#9D985D #5D9D78 #5D629D #9D5D82
square
#9D985D #5D9D78 #5D629D #9D5D82
split-complementary
#9D985D #5D829D #785D9D
monochromatic
#504E2F #777346 #9D985D #B5B182 #CCC9A9

Accessibility & contrast

On white

2.96
#9D985D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#9D985D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D985D
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D985D#FFFFFF#000000##000000
##9D985D1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29458
Deuteranopia (green-blind)
#A4975F
Tritanopia (blue-blind)
#A69189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d985d;
/* rgb */ color: rgb(157, 152, 93);
/* oklch */ color: oklch(67.0% 0.080 104.1);
Tailwind
colors: {
  custom: {
    50: '#bbb68c',
    500: '#9d985d',
    950: '#000000',
  },
}
SCSS
$custom: #9d985d;
$custom-light: #bbb68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d985d",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 93
  },
  "hsl": {
    "h": 55.312,
    "s": 25.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.67002,
    "c": 0.07963,
    "h": 104.1
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

primary
#9D985D
secondary
#9C9EBA
accent
#6DC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D985D

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

Preview Lab → · Contrast checker → · Palette generator →

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