#9D8D53#9D8D53

#9D8D53 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.4% C 0.080 H 94.4°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9D8D53
RGBrgb(157, 141, 83)
HSLhsl(47, 31%, 47%)
HSVhsv(47, 47%, 62%)
CMYKcmyk(0%, 10.2%, 47.1%, 38.4%)
CIE-LABlab(58.83, -2.22, 33.00)
CIE-LCHlch(58.83, 33.08, 93.84°)
OKLaboklab(64.44% -0.0062 0.0796)
OKLCHoklch(64.44% 0.08 94.4)
XYZxyz(24.9916, 26.8434, 12.0468)
Luminance0.2684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D53 #53639D
analogous
#9D6853 #9D8D53 #889D53
triadic
#9D8D53 #539D8D #8D539D
tetradic
#9D8D53 #539D68 #53639D #9D5388
square
#9D8D53 #539D68 #53639D #9D5388
split-complementary
#9D8D53 #53889D #68539D
monochromatic
#4D4529 #75693E #9D8D53 #B7A976 #CCC29E

Accessibility & contrast

On white

3.30
#9D8D53 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#9D8D53 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D53
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D53#FFFFFF#000000##000000
##9D8D531.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4E
Deuteranopia (green-blind)
#9C9055
Tritanopia (blue-blind)
#A7857F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d8d53;
/* rgb */ color: rgb(157, 141, 83);
/* oklch */ color: oklch(64.4% 0.080 94.4);
Tailwind
colors: {
  custom: {
    50: '#bbae84',
    500: '#9d8d53',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d53;
$custom-light: #bbae84;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d53",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 83
  },
  "hsl": {
    "h": 47.027,
    "s": 30.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.64435,
    "c": 0.07984,
    "h": 94.4
  },
  "luminance": 0.26842
}

Semantic roles & 50–950 ramp

primary
#9D8D53
secondary
#939BB9
accent
#77C761
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #9D8D53

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

Preview Lab → · Contrast checker → · Palette generator →

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