#9D985C#9D985C

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

Color values

HEX#9D985C
RGBrgb(157, 152, 92)
HSLhsl(55, 26%, 49%)
HSVhsv(55, 41%, 62%)
CMYKcmyk(0%, 3.2%, 41.4%, 38.4%)
CIE-LABlab(62.00, -7.24, 32.19)
CIE-LCHlch(62.00, 33.00, 102.68°)
OKLaboklab(66.99% -0.0198 0.0783)
OKLCHoklch(66.99% 0.081 104.2)
XYZxyz(27.0651, 30.3980, 14.5648)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D985C #5C619D
analogous
#9D785C #9D985C #829D5C
triadic
#9D985C #5C9D98 #985C9D
tetradic
#9D985C #5C9D78 #5C619D #9D5C82
square
#9D985C #5C9D78 #5C619D #9D5C82
split-complementary
#9D985C #5C829D #785C9D
monochromatic
#504D2F #767345 #9D985C #B5B181 #CCC9A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D985C#FFFFFF#000000##000000
##9D985C1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d985c;
/* rgb */ color: rgb(157, 152, 92);
/* oklch */ color: oklch(67.0% 0.081 104.2);
Tailwind
colors: {
  custom: {
    50: '#bbb68b',
    500: '#9d985c',
    950: '#000000',
  },
}
SCSS
$custom: #9d985c;
$custom-light: #bbb68b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d985c",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 55.385,
    "s": 26.104,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.08081,
    "h": 104.2
  },
  "luminance": 0.30397
}

Semantic roles & 50–950 ramp

primary
#9D985C
secondary
#9B9DBA
accent
#6CC265
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D985C

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

Preview Lab → · Contrast checker → · Palette generator →

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