#8A997B#8A997B

#8A997B is a light, muted yellow-green. Relative luminance 0.296; OKLCH L 66.3% C 0.046 H 129.3°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A997B
RGBrgb(138, 153, 123)
HSLhsl(90, 13%, 54%)
HSVhsv(90, 20%, 60%)
CMYKcmyk(9.8%, 0%, 19.6%, 40%)
CIE-LABlab(61.32, -11.02, 14.01)
CIE-LCHlch(61.32, 17.83, 128.20°)
OKLaboklab(66.26% -0.0294 0.0359)
OKLCHoklch(66.26% 0.046 129.3)
XYZxyz(25.4471, 29.6156, 23.1108)
Luminance0.2962 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A997B #8A7B99
analogous
#99997B #8A997B #7B997B
triadic
#8A997B #7B8A99 #997B8A
tetradic
#8A997B #7B9999 #8A7B99 #997B7B
square
#8A997B #7B9999 #8A7B99 #997B7B
split-complementary
#8A997B #7B7B99 #997B99
monochromatic
#4D5743 #6B795E #8A997B #A9B49E #C7CEC0

Accessibility & contrast

On white

3.03
#8A997B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8A997B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A997B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A997B#FFFFFF#000000##000000
##8A997B1.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9579
Deuteranopia (green-blind)
#9A947C
Tritanopia (blue-blind)
#8B9691
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a997b;
/* rgb */ color: rgb(138, 153, 123);
/* oklch */ color: oklch(66.3% 0.046 129.3);
Tailwind
colors: {
  custom: {
    50: '#acb7a1',
    500: '#8a997b',
    950: '#000000',
  },
}
SCSS
$custom: #8a997b;
$custom-light: #acb7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a997b",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 123
  },
  "hsl": {
    "h": 90,
    "s": 12.821,
    "l": 54.118
  },
  "oklch": {
    "l": 0.66259,
    "c": 0.04641,
    "h": 129.3
  },
  "luminance": 0.29616
}

Semantic roles & 50–950 ramp

primary
#8A997B
secondary
#B8B2BE
accent
#72B694
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110F
muted
#7F807E

Preview Lab

Preview with #8A997B

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

Preview Lab → · Contrast checker → · Palette generator →

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