#9D9B68#9D9B68

#9D9B68 is a light, moderate yellow. Relative luminance 0.316; OKLCH L 67.9% C 0.070 H 106.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#9D9B68
RGBrgb(157, 155, 104)
HSLhsl(58, 21%, 51%)
HSVhsv(58, 34%, 62%)
CMYKcmyk(0%, 1.3%, 33.8%, 38.4%)
CIE-LABlab(63.02, -7.42, 27.06)
CIE-LCHlch(63.02, 28.06, 105.33°)
OKLaboklab(67.86% -0.0195 0.0671)
OKLCHoklch(67.86% 0.07 106.2)
XYZxyz(28.1249, 31.6108, 17.7139)
Luminance0.3161 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9B68 #686A9D
analogous
#9D8068 #9D9B68 #849D68
triadic
#9D9B68 #689D9B #9B689D
tetradic
#9D9B68 #689D80 #686A9D #9D6884
square
#9D9B68 #689D80 #686A9D #9D6884
split-complementary
#9D9B68 #68849D #80689D
monochromatic
#545337 #79784F #9D9B68 #B5B48D #CDCCB2

Accessibility & contrast

On white

2.87
#9D9B68 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#9D9B68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9B68
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9B68#FFFFFF#000000##000000
##9D9B681.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39764
Deuteranopia (green-blind)
#A59A6A
Tritanopia (blue-blind)
#A4958E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9b68;
/* rgb */ color: rgb(157, 155, 104);
/* oklch */ color: oklch(67.9% 0.070 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab893',
    500: '#9d9b68',
    950: '#000000',
  },
}
SCSS
$custom: #9d9b68;
$custom-light: #bab893;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9b68",
  "rgb": {
    "r": 157,
    "g": 155,
    "b": 104
  },
  "hsl": {
    "h": 57.736,
    "s": 21.285,
    "l": 51.176
  },
  "oklch": {
    "l": 0.6786,
    "c": 0.06983,
    "h": 106.2
  },
  "luminance": 0.3161
}

Semantic roles & 50–950 ramp

primary
#9D9B68
secondary
#A5A6BC
accent
#6DBE6A
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#12110D
muted
#81807E

Preview Lab

Preview with #9D9B68

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

Preview Lab → · Contrast checker → · Palette generator →

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