#9D8D41#9D8D41

#9D8D41 is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.098 H 97.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9D8D41
RGBrgb(157, 141, 65)
HSLhsl(50, 41%, 44%)
HSVhsv(50, 59%, 62%)
CMYKcmyk(0%, 10.2%, 58.6%, 38.4%)
CIE-LABlab(58.60, -3.86, 41.99)
CIE-LCHlch(58.60, 42.17, 95.25°)
OKLaboklab(64.18% -0.013 0.0976)
OKLCHoklch(64.18% 0.098 97.6)
XYZxyz(24.3846, 26.6006, 8.8500)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D41 #41519D
analogous
#9D5F41 #9D8D41 #7F9D41
triadic
#9D8D41 #419D8D #8D419D
tetradic
#9D8D41 #419D5F #41519D #9D417F
square
#9D8D41 #419D5F #41519D #9D417F
split-complementary
#9D8D41 #417F9D #5F419D
monochromatic
#463F1D #72662F #9D8D41 #BDAC5F #CFC38A

Accessibility & contrast

On white

3.32
#9D8D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#9D8D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D41
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D41#FFFFFF#000000##000000
##9D8D411.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8A39
Deuteranopia (green-blind)
#9E8F45
Tritanopia (blue-blind)
#A8847C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d41;
/* rgb */ color: rgb(157, 141, 65);
/* oklch */ color: oklch(64.2% 0.098 97.6);
Tailwind
colors: {
  custom: {
    50: '#bcae78',
    500: '#9d8d41',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d41;
$custom-light: #bcae78;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d41",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 49.565,
    "s": 41.441,
    "l": 43.529
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.09849,
    "h": 97.6
  },
  "luminance": 0.266
}

Semantic roles & 50–950 ramp

primary
#9D8D41
secondary
#808AB9
accent
#6CD157
background
#FBFAF7
surface
#F7F4ED
border
#D0CEC8
text
#121009
muted
#817F7B

Preview Lab

Preview with #9D8D41

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

Preview Lab → · Contrast checker → · Palette generator →

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