#9D9964#9D9964

#9D9964 is a light, moderate yellow. Relative luminance 0.309; OKLCH L 67.3% C 0.072 H 104.5°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#9D9964
RGBrgb(157, 153, 100)
HSLhsl(56, 23%, 50%)
HSVhsv(56, 36%, 62%)
CMYKcmyk(0%, 2.5%, 36.3%, 38.4%)
CIE-LABlab(62.40, -6.84, 28.42)
CIE-LCHlch(62.40, 29.23, 103.53°)
OKLaboklab(67.35% -0.0181 0.0701)
OKLCHoklch(67.35% 0.072 104.5)
XYZxyz(27.5965, 30.8713, 16.5591)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9964 #64689D
analogous
#9D7C64 #9D9964 #859D64
triadic
#9D9964 #649D99 #99649D
tetradic
#9D9964 #649D7C #64689D #9D6485
square
#9D9964 #649D7C #64689D #9D6485
split-complementary
#9D9964 #64859D #7C649D
monochromatic
#525034 #78754C #9D9964 #B5B289 #CCCAAF

Accessibility & contrast

On white

2.93
#9D9964 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#9D9964 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9964
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9964#FFFFFF#000000##000000
##9D99641.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29560
Deuteranopia (green-blind)
#A49866
Tritanopia (blue-blind)
#A5928C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9964;
/* rgb */ color: rgb(157, 153, 100);
/* oklch */ color: oklch(67.3% 0.072 104.5);
Tailwind
colors: {
  custom: {
    50: '#bbb691',
    500: '#9d9964',
    950: '#000000',
  },
}
SCSS
$custom: #9d9964;
$custom-light: #bbb691;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9964",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 100
  },
  "hsl": {
    "h": 55.789,
    "s": 22.53,
    "l": 50.392
  },
  "oklch": {
    "l": 0.67346,
    "c": 0.07235,
    "h": 104.5
  },
  "luminance": 0.30871
}

Semantic roles & 50–950 ramp

primary
#9D9964
secondary
#A2A3BB
accent
#6FBF69
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D9964

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

Preview Lab → · Contrast checker → · Palette generator →

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