#8A9972#8A9972

#8A9972 is a light, muted yellow-green. Relative luminance 0.294; OKLCH L 66.0% C 0.058 H 125.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A9972
RGBrgb(138, 153, 114)
HSLhsl(83, 16%, 52%)
HSVhsv(83, 25%, 60%)
CMYKcmyk(9.8%, 0%, 25.5%, 40%)
CIE-LABlab(61.13, -12.50, 18.77)
CIE-LCHlch(61.13, 22.55, 123.66°)
OKLaboklab(66.05% -0.0334 0.0476)
OKLCHoklch(66.05% 0.058 125)
XYZxyz(24.9093, 29.4006, 20.2789)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9972 #817299
analogous
#999472 #8A9972 #779972
triadic
#8A9972 #728A99 #99728A
tetradic
#8A9972 #729994 #817299 #997277
square
#8A9972 #729994 #817299 #997277
split-complementary
#8A9972 #727799 #947299
monochromatic
#4B543D #6B7756 #8A9972 #A7B396 #C5CCB9

Accessibility & contrast

On white

3.05
#8A9972 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8A9972 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9972
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9972#FFFFFF#000000##000000
##8A99721.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D9470
Deuteranopia (green-blind)
#9B9374
Tritanopia (blue-blind)
#8D958E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a9972;
/* rgb */ color: rgb(138, 153, 114);
/* oklch */ color: oklch(66.0% 0.058 125.0);
Tailwind
colors: {
  custom: {
    50: '#acb79a',
    500: '#8a9972',
    950: '#000000',
  },
}
SCSS
$custom: #8a9972;
$custom-light: #acb79a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9972",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 114
  },
  "hsl": {
    "h": 83.077,
    "s": 16.049,
    "l": 52.353
  },
  "oklch": {
    "l": 0.66048,
    "c": 0.05812,
    "h": 125
  },
  "luminance": 0.29401
}

Semantic roles & 50–950 ramp

primary
#8A9972
secondary
#B1ABBC
accent
#6FB98B
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9972

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

Preview Lab → · Contrast checker → · Palette generator →

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