#8D997B#8D997B

#8D997B is a light, muted yellow-green. Relative luminance 0.299; OKLCH L 66.5% C 0.045 H 125.3°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D997B
RGBrgb(141, 153, 123)
HSLhsl(84, 13%, 54%)
HSVhsv(84, 20%, 60%)
CMYKcmyk(7.8%, 0%, 19.6%, 40%)
CIE-LABlab(61.55, -9.88, 14.36)
CIE-LCHlch(61.55, 17.43, 124.54°)
OKLaboklab(66.5% -0.0261 0.0368)
OKLCHoklch(66.5% 0.045 125.3)
XYZxyz(25.9504, 29.8752, 23.1344)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D997B #877B99
analogous
#99967B #8D997B #7E997B
triadic
#8D997B #7B8D99 #997B8D
tetradic
#8D997B #7B9996 #877B99 #997B7E
square
#8D997B #7B9996 #877B99 #997B7E
split-complementary
#8D997B #7B7E99 #967B99
monochromatic
#4F5743 #6E795E #8D997B #ABB49E #C9CEC0

Accessibility & contrast

On white

3.01
#8D997B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D997B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D997B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D997B#FFFFFF#000000##000000
##8D997B1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9579
Deuteranopia (green-blind)
#9B947C
Tritanopia (blue-blind)
#8F9691
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d997b;
/* rgb */ color: rgb(141, 153, 123);
/* oklch */ color: oklch(66.5% 0.045 125.3);
Tailwind
colors: {
  custom: {
    50: '#aeb7a1',
    500: '#8d997b',
    950: '#000000',
  },
}
SCSS
$custom: #8d997b;
$custom-light: #aeb7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d997b",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 123
  },
  "hsl": {
    "h": 84,
    "s": 12.821,
    "l": 54.118
  },
  "oklch": {
    "l": 0.66495,
    "c": 0.04512,
    "h": 125.3
  },
  "luminance": 0.29875
}

Semantic roles & 50–950 ramp

primary
#8D997B
secondary
#B7B2BE
accent
#72B68D
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110F
muted
#7F807E

Preview Lab

Preview with #8D997B

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

Preview Lab → · Contrast checker → · Palette generator →

#8D997B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva