#9D986F#9D986F

#9D986F is a light, muted yellow. Relative luminance 0.308; OKLCH L 67.3% C 0.057 H 101.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9D986F
RGBrgb(157, 152, 111)
HSLhsl(53, 19%, 53%)
HSVhsv(53, 29%, 62%)
CMYKcmyk(0%, 3.2%, 29.3%, 38.4%)
CIE-LABlab(62.32, -4.86, 22.29)
CIE-LCHlch(62.32, 22.82, 102.31°)
OKLaboklab(67.34% -0.0118 0.056)
OKLCHoklch(67.34% 0.057 101.9)
XYZxyz(28.0023, 30.7728, 19.5005)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D986F #6F749D
analogous
#9D816F #9D986F #8B9D6F
triadic
#9D986F #6F9D98 #986F9D
tetradic
#9D986F #6F9D81 #6F749D #9D6F8B
square
#9D986F #6F9D81 #6F749D #9D6F8B
split-complementary
#9D986F #6F8B9D #816F9D
monochromatic
#57543B #7B7754 #9D986F #B6B293 #CFCCB8

Accessibility & contrast

On white

2.94
#9D986F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9D986F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D986F
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D986F#FFFFFF#000000##000000
##9D986F1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0956C
Deuteranopia (green-blind)
#A19870
Tritanopia (blue-blind)
#A4928D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d986f;
/* rgb */ color: rgb(157, 152, 111);
/* oklch */ color: oklch(67.3% 0.057 101.9);
Tailwind
colors: {
  custom: {
    50: '#bab698',
    500: '#9d986f',
    950: '#000000',
  },
}
SCSS
$custom: #9d986f;
$custom-light: #bab698;
$custom-dark: #000000;
JSON
{
  "hex": "#9d986f",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 111
  },
  "hsl": {
    "h": 53.478,
    "s": 19.008,
    "l": 52.549
  },
  "oklch": {
    "l": 0.67343,
    "c": 0.05722,
    "h": 101.9
  },
  "luminance": 0.30772
}

Semantic roles & 50–950 ramp

primary
#9D986F
secondary
#AAACBE
accent
#75BC6C
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D986F

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

Preview Lab → · Contrast checker → · Palette generator →

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