#9D8F4E#9D8F4E

#9D8F4E is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.8% C 0.087 H 97.5°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#9D8F4E
RGBrgb(157, 143, 78)
HSLhsl(49, 34%, 46%)
HSVhsv(49, 50%, 62%)
CMYKcmyk(0%, 8.9%, 50.3%, 38.4%)
CIE-LABlab(59.31, -3.81, 36.23)
CIE-LCHlch(59.31, 36.43, 96.01°)
OKLaboklab(64.79% -0.0113 0.0864)
OKLCHoklch(64.79% 0.087 97.5)
XYZxyz(25.1030, 27.3640, 11.1657)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8F4E #4E5C9D
analogous
#9D674E #9D8F4E #839D4E
triadic
#9D8F4E #4E9D8F #8F4E9D
tetradic
#9D8F4E #4E9D67 #4E5C9D #9D4E83
square
#9D8F4E #4E9D67 #4E5C9D #9D4E83
split-complementary
#9D8F4E #4E839D #674E9D
monochromatic
#4B4525 #746A3A #9D8F4E #B8AB70 #CCC399

Accessibility & contrast

On white

3.24
#9D8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#9D8F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8F4E
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8F4E#FFFFFF#000000##000000
##9D8F4E1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8C48
Deuteranopia (green-blind)
#9E9151
Tritanopia (blue-blind)
#A78780
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d8f4e;
/* rgb */ color: rgb(157, 143, 78);
/* oklch */ color: oklch(64.8% 0.087 97.5);
Tailwind
colors: {
  custom: {
    50: '#bcaf81',
    500: '#9d8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #9d8f4e;
$custom-light: #bcaf81;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8f4e",
  "rgb": {
    "r": 157,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 49.367,
    "s": 33.617,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.08715,
    "h": 97.5
  },
  "luminance": 0.27363
}

Semantic roles & 50–950 ramp

primary
#9D8F4E
secondary
#8E95B9
accent
#71CA5E
background
#FBFAF7
surface
#F7F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #9D8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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