#9D9968#9D9968

#9D9968 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.067 H 104.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9D9968
RGBrgb(157, 153, 104)
HSLhsl(55, 21%, 51%)
HSVhsv(55, 34%, 62%)
CMYKcmyk(0%, 2.5%, 33.8%, 38.4%)
CIE-LABlab(62.47, -6.34, 26.33)
CIE-LCHlch(62.47, 27.08, 103.53°)
OKLaboklab(67.42% -0.0164 0.0654)
OKLCHoklch(67.42% 0.067 104.1)
XYZxyz(27.7948, 30.9506, 17.6039)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9968 #686C9D
analogous
#9D7E68 #9D9968 #869D68
triadic
#9D9968 #689D99 #99689D
tetradic
#9D9968 #689D7E #686C9D #9D6886
square
#9D9968 #689D7E #686C9D #9D6886
split-complementary
#9D9968 #68869D #7E689D
monochromatic
#545237 #79764F #9D9968 #B5B28D #CDCBB2

Accessibility & contrast

On white

2.92
#9D9968 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#9D9968 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9968
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9968#FFFFFF#000000##000000
##9D99681.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19665
Deuteranopia (green-blind)
#A3986A
Tritanopia (blue-blind)
#A5938C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9968;
/* rgb */ color: rgb(157, 153, 104);
/* oklch */ color: oklch(67.4% 0.067 104.1);
Tailwind
colors: {
  custom: {
    50: '#bab793',
    500: '#9d9968',
    950: '#000000',
  },
}
SCSS
$custom: #9d9968;
$custom-light: #bab793;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9968",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 104
  },
  "hsl": {
    "h": 55.472,
    "s": 21.285,
    "l": 51.176
  },
  "oklch": {
    "l": 0.67421,
    "c": 0.06737,
    "h": 104.1
  },
  "luminance": 0.3095
}

Semantic roles & 50–950 ramp

primary
#9D9968
secondary
#A5A6BC
accent
#70BE6A
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D9968

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

Preview Lab → · Contrast checker → · Palette generator →

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