#9D9869#9D9869

#9D9869 is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.2% C 0.065 H 102.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#9D9869
RGBrgb(157, 152, 105)
HSLhsl(54, 21%, 51%)
HSVhsv(54, 33%, 62%)
CMYKcmyk(0%, 3.2%, 33.1%, 38.4%)
CIE-LABlab(62.21, -5.67, 25.44)
CIE-LCHlch(62.21, 26.07, 102.56°)
OKLaboklab(67.22% -0.0144 0.0633)
OKLCHoklch(67.22% 0.065 102.8)
XYZxyz(27.6829, 30.6451, 17.8187)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9869 #696E9D
analogous
#9D7E69 #9D9869 #889D69
triadic
#9D9869 #699D98 #98699D
tetradic
#9D9869 #699D7E #696E9D #9D6988
square
#9D9869 #699D7E #696E9D #9D6988
split-complementary
#9D9869 #69889D #7E699D
monochromatic
#545237 #79754F #9D9869 #B5B18E #CDCBB3

Accessibility & contrast

On white

2.95
#9D9869 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#9D9869 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9869
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9869#FFFFFF#000000##000000
##9D98691.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09566
Deuteranopia (green-blind)
#A2986B
Tritanopia (blue-blind)
#A5928C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9d9869;
/* rgb */ color: rgb(157, 152, 105);
/* oklch */ color: oklch(67.2% 0.065 102.8);
Tailwind
colors: {
  custom: {
    50: '#bab694',
    500: '#9d9869',
    950: '#000000',
  },
}
SCSS
$custom: #9d9869;
$custom-light: #bab694;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9869",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 105
  },
  "hsl": {
    "h": 54.231,
    "s": 20.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67221,
    "c": 0.06491,
    "h": 102.8
  },
  "luminance": 0.30644
}

Semantic roles & 50–950 ramp

primary
#9D9869
secondary
#A5A8BC
accent
#72BE6A
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D9869

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

Preview Lab → · Contrast checker → · Palette generator →

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