#9D985E#9D985E

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

Color values

HEX#9D985E
RGBrgb(157, 152, 94)
HSLhsl(55, 25%, 49%)
HSVhsv(55, 40%, 62%)
CMYKcmyk(0%, 3.2%, 40.1%, 38.4%)
CIE-LABlab(62.03, -7.01, 31.16)
CIE-LCHlch(62.03, 31.94, 102.68°)
OKLaboklab(67.02% -0.019 0.0761)
OKLCHoklch(67.02% 0.078 104)
XYZxyz(27.1537, 30.4334, 15.0313)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D985E #5E639D
analogous
#9D795E #9D985E #839D5E
triadic
#9D985E #5E9D98 #985E9D
tetradic
#9D985E #5E9D79 #5E639D #9D5E83
square
#9D985E #5E9D79 #5E639D #9D5E83
split-complementary
#9D985E #5E839D #795E9D
monochromatic
#504E30 #777347 #9D985E #B5B183 #CCC9AA

Accessibility & contrast

On white

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

On black

7.09
#9D985E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D985E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D985E#FFFFFF#000000##000000
##9D985E1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2945A
Deuteranopia (green-blind)
#A39760
Tritanopia (blue-blind)
#A6918A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d985e;
/* rgb */ color: rgb(157, 152, 94);
/* oklch */ color: oklch(67.0% 0.078 104.0);
Tailwind
colors: {
  custom: {
    50: '#bbb68c',
    500: '#9d985e',
    950: '#000000',
  },
}
SCSS
$custom: #9d985e;
$custom-light: #bbb68c;
$custom-dark: #000000;
JSON
{
  "hex": "#9d985e",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 94
  },
  "hsl": {
    "h": 55.238,
    "s": 25.1,
    "l": 49.216
  },
  "oklch": {
    "l": 0.67019,
    "c": 0.07844,
    "h": 104
  },
  "luminance": 0.30433
}

Semantic roles & 50–950 ramp

primary
#9D985E
secondary
#9D9FBA
accent
#6EC266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D985E

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

Preview Lab → · Contrast checker → · Palette generator →

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