#8A9979#8A9979

#8A9979 is a light, muted yellow-green. Relative luminance 0.296; OKLCH L 66.2% C 0.049 H 128.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A9979
RGBrgb(138, 153, 121)
HSLhsl(88, 14%, 54%)
HSVhsv(88, 21%, 60%)
CMYKcmyk(9.8%, 0%, 20.9%, 40%)
CIE-LABlab(61.28, -11.36, 15.07)
CIE-LCHlch(61.28, 18.87, 127.01°)
OKLaboklab(66.21% -0.0303 0.0386)
OKLCHoklch(66.21% 0.049 128.1)
XYZxyz(25.3231, 29.5661, 22.4582)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9979 #887999
analogous
#999879 #8A9979 #7A9979
triadic
#8A9979 #798A99 #99798A
tetradic
#8A9979 #799998 #887999 #99797A
square
#8A9979 #799998 #887999 #99797A
split-complementary
#8A9979 #797A99 #987999
monochromatic
#4C5642 #6B795C #8A9979 #A8B39C #C7CEBE

Accessibility & contrast

On white

3.04
#8A9979 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A9979 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9979
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9979#FFFFFF#000000##000000
##8A99791.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9577
Deuteranopia (green-blind)
#9A947A
Tritanopia (blue-blind)
#8C9690
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9979;
/* rgb */ color: rgb(138, 153, 121);
/* oklch */ color: oklch(66.2% 0.049 128.1);
Tailwind
colors: {
  custom: {
    50: '#acb79f',
    500: '#8a9979',
    950: '#000000',
  },
}
SCSS
$custom: #8a9979;
$custom-light: #acb79f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9979",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 121
  },
  "hsl": {
    "h": 88.125,
    "s": 13.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.04901,
    "h": 128.1
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#8A9979
secondary
#B6B0BE
accent
#71B692
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9979

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

Preview Lab → · Contrast checker → · Palette generator →

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