#9D9963#9D9963

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

Color values

HEX#9D9963
RGBrgb(157, 153, 99)
HSLhsl(56, 23%, 50%)
HSVhsv(56, 37%, 62%)
CMYKcmyk(0%, 2.5%, 36.9%, 38.4%)
CIE-LABlab(62.38, -6.96, 28.93)
CIE-LCHlch(62.38, 29.76, 103.53°)
OKLaboklab(67.33% -0.0185 0.0712)
OKLCHoklch(67.33% 0.074 104.6)
XYZxyz(27.5484, 30.8520, 16.3058)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9963 #63679D
analogous
#9D7C63 #9D9963 #849D63
triadic
#9D9963 #639D99 #99639D
tetradic
#9D9963 #639D7C #63679D #9D6384
square
#9D9963 #639D7C #63679D #9D6384
split-complementary
#9D9963 #63849D #7C639D
monochromatic
#525034 #78754B #9D9963 #B5B289 #CCCAAE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9963#FFFFFF#000000##000000
##9D99631.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)
#A2955F
Deuteranopia (green-blind)
#A49865
Tritanopia (blue-blind)
#A5928B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d9963;
/* rgb */ color: rgb(157, 153, 99);
/* oklch */ color: oklch(67.3% 0.074 104.6);
Tailwind
colors: {
  custom: {
    50: '#bbb690',
    500: '#9d9963',
    950: '#000000',
  },
}
SCSS
$custom: #9d9963;
$custom-light: #bbb690;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9963",
  "rgb": {
    "r": 157,
    "g": 153,
    "b": 99
  },
  "hsl": {
    "h": 55.862,
    "s": 22.835,
    "l": 50.196
  },
  "oklch": {
    "l": 0.67327,
    "c": 0.07357,
    "h": 104.6
  },
  "luminance": 0.30851
}

Semantic roles & 50–950 ramp

primary
#9D9963
secondary
#A1A3BB
accent
#6EBF68
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#12110C
muted
#81807D

Preview Lab

Preview with #9D9963

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

Preview Lab → · Contrast checker → · Palette generator →

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