#9D8D46#9D8D46

#9D8D46 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.094 H 96.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9D8D46
RGBrgb(157, 141, 70)
HSLhsl(49, 38%, 45%)
HSVhsv(49, 55%, 62%)
CMYKcmyk(0%, 10.2%, 55.4%, 38.4%)
CIE-LABlab(58.66, -3.44, 39.56)
CIE-LCHlch(58.66, 39.71, 94.97°)
OKLaboklab(64.25% -0.0112 0.093)
OKLCHoklch(64.25% 0.094 96.9)
XYZxyz(24.5359, 26.6611, 9.6469)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D46 #46569D
analogous
#9D6246 #9D8D46 #819D46
triadic
#9D8D46 #469D8D #8D469D
tetradic
#9D8D46 #469D62 #46569D #9D4681
square
#9D8D46 #469D62 #46569D #9D4681
split-complementary
#9D8D46 #46819D #62469D
monochromatic
#484120 #736733 #9D8D46 #BBAB66 #CDC290

Accessibility & contrast

On white

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

On black

6.33
#9D8D46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D46
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D46#FFFFFF#000000##000000
##9D8D461.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998A3F
Deuteranopia (green-blind)
#9D8F49
Tritanopia (blue-blind)
#A8847D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d46;
/* rgb */ color: rgb(157, 141, 70);
/* oklch */ color: oklch(64.2% 0.094 96.9);
Tailwind
colors: {
  custom: {
    50: '#bcae7b',
    500: '#9d8d46',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d46;
$custom-light: #bcae7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d46",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 70
  },
  "hsl": {
    "h": 48.966,
    "s": 38.326,
    "l": 44.51
  },
  "oklch": {
    "l": 0.64246,
    "c": 0.09362,
    "h": 96.9
  },
  "luminance": 0.2666
}

Semantic roles & 50–950 ramp

primary
#9D8D46
secondary
#868FB9
accent
#6FCE5A
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#121009
muted
#817F7B

Preview Lab

Preview with #9D8D46

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

Preview Lab → · Contrast checker → · Palette generator →

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