#9D8D4E#9D8D4E

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

Color values

HEX#9D8D4E
RGBrgb(157, 141, 78)
HSLhsl(48, 34%, 46%)
HSVhsv(48, 50%, 62%)
CMYKcmyk(0%, 10.2%, 50.3%, 38.4%)
CIE-LABlab(58.76, -2.71, 35.56)
CIE-LCHlch(58.76, 35.66, 94.37°)
OKLaboklab(64.36% -0.0082 0.0849)
OKLCHoklch(64.36% 0.085 95.5)
XYZxyz(24.8054, 26.7689, 11.0665)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8D4E #4E5E9D
analogous
#9D654E #9D8D4E #859D4E
triadic
#9D8D4E #4E9D8D #8D4E9D
tetradic
#9D8D4E #4E9D65 #4E5E9D #9D4E85
square
#9D8D4E #4E9D65 #4E5E9D #9D4E85
split-complementary
#9D8D4E #4E859D #654E9D
monochromatic
#4B4425 #74683A #9D8D4E #B8A970 #CCC299

Accessibility & contrast

On white

3.31
#9D8D4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#9D8D4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8D4E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8D4E#FFFFFF#000000##000000
##9D8D4E1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#A8857E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #9d8d4e;
/* rgb */ color: rgb(157, 141, 78);
/* oklch */ color: oklch(64.4% 0.085 95.5);
Tailwind
colors: {
  custom: {
    50: '#bcae81',
    500: '#9d8d4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d8d4e;
$custom-light: #bcae81;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8d4e",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 47.848,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.08532,
    "h": 95.5
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#9D8D4E
secondary
#8E97B9
accent
#74CA5E
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D8D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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