#9D985B#9D985B

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

Color values

HEX#9D985B
RGBrgb(157, 152, 91)
HSLhsl(55, 27%, 49%)
HSVhsv(55, 42%, 62%)
CMYKcmyk(0%, 3.2%, 42%, 38.4%)
CIE-LABlab(61.98, -7.35, 32.70)
CIE-LCHlch(61.98, 33.52, 102.67°)
OKLaboklab(66.97% -0.0203 0.0794)
OKLCHoklch(66.97% 0.082 104.3)
XYZxyz(27.0217, 30.3806, 14.3361)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D985B #5B609D
analogous
#9D775B #9D985B #819D5B
triadic
#9D985B #5B9D98 #985B9D
tetradic
#9D985B #5B9D77 #5B609D #9D5B81
square
#9D985B #5B9D77 #5B609D #9D5B81
split-complementary
#9D985B #5B819D #775B9D
monochromatic
#504D2E #767245 #9D985B #B5B180 #CCC9A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D985B#FFFFFF#000000##000000
##9D985B1.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)
#A29456
Deuteranopia (green-blind)
#A4975E
Tritanopia (blue-blind)
#A69189
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d985b;
/* rgb */ color: rgb(157, 152, 91);
/* oklch */ color: oklch(67.0% 0.082 104.3);
Tailwind
colors: {
  custom: {
    50: '#bbb68a',
    500: '#9d985b',
    950: '#000000',
  },
}
SCSS
$custom: #9d985b;
$custom-light: #bbb68a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d985b",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 55.455,
    "s": 26.613,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66969,
    "c": 0.08197,
    "h": 104.3
  },
  "luminance": 0.3038
}

Semantic roles & 50–950 ramp

primary
#9D985B
secondary
#9A9CBA
accent
#6CC365
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D985B

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

Preview Lab → · Contrast checker → · Palette generator →

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