#9D986B#9D986B

#9D986B is a light, moderate yellow. Relative luminance 0.307; OKLCH L 67.3% C 0.062 H 102.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#9D986B
RGBrgb(157, 152, 107)
HSLhsl(54, 20%, 52%)
HSVhsv(54, 32%, 62%)
CMYKcmyk(0%, 3.2%, 31.8%, 38.4%)
CIE-LABlab(62.24, -5.40, 24.39)
CIE-LCHlch(62.24, 24.99, 102.49°)
OKLaboklab(67.26% -0.0135 0.0609)
OKLCHoklch(67.26% 0.062 102.5)
XYZxyz(27.7869, 30.6867, 18.3664)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D986B #6B709D
analogous
#9D7F6B #9D986B #899D6B
triadic
#9D986B #6B9D98 #986B9D
tetradic
#9D986B #6B9D7F #6B709D #9D6B89
square
#9D986B #6B9D7F #6B709D #9D6B89
split-complementary
#9D986B #6B899D #7F6B9D
monochromatic
#555238 #7A7651 #9D986B #B5B290 #CECBB5

Accessibility & contrast

On white

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

On black

7.14
#9D986B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D986B
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D986B#FFFFFF#000000##000000
##9D986B1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09568
Deuteranopia (green-blind)
#A2986D
Tritanopia (blue-blind)
#A4928C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d986b;
/* rgb */ color: rgb(157, 152, 107);
/* oklch */ color: oklch(67.3% 0.062 102.5);
Tailwind
colors: {
  custom: {
    50: '#bab695',
    500: '#9d986b',
    950: '#000000',
  },
}
SCSS
$custom: #9d986b;
$custom-light: #bab695;
$custom-dark: #000000;
JSON
{
  "hex": "#9d986b",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 54,
    "s": 20.325,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67261,
    "c": 0.06237,
    "h": 102.5
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

primary
#9D986B
secondary
#A7A9BD
accent
#73BD6B
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D986B

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

Preview Lab → · Contrast checker → · Palette generator →

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