#8A9873#8A9873

#8A9873 is a light, muted yellow-green. Relative luminance 0.291; OKLCH L 65.8% C 0.055 H 124.7°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A9873
RGBrgb(138, 152, 115)
HSLhsl(83, 15%, 52%)
HSVhsv(83, 24%, 60%)
CMYKcmyk(9.2%, 0%, 24.3%, 40.4%)
CIE-LABlab(60.87, -11.81, 17.85)
CIE-LCHlch(60.87, 21.40, 123.48°)
OKLaboklab(65.84% -0.0314 0.0454)
OKLCHoklch(65.84% 0.055 124.7)
XYZxyz(24.8036, 29.0975, 20.5260)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9873 #817398
analogous
#989473 #8A9873 #789873
triadic
#8A9873 #738A98 #98738A
tetradic
#8A9873 #739894 #817398 #987378
square
#8A9873 #739894 #817398 #987378
split-complementary
#8A9873 #737898 #947398
monochromatic
#4B533D #6B7757 #8A9873 #A7B296 #C5CCBA

Accessibility & contrast

On white

3.08
#8A9873 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A9873 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9873
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9873#FFFFFF#000000##000000
##8A98731.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C9371
Deuteranopia (green-blind)
#9A9375
Tritanopia (blue-blind)
#8D948E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a9873;
/* rgb */ color: rgb(138, 152, 115);
/* oklch */ color: oklch(65.8% 0.055 124.7);
Tailwind
colors: {
  custom: {
    50: '#acb69b',
    500: '#8a9873',
    950: '#000000',
  },
}
SCSS
$custom: #8a9873;
$custom-light: #acb69b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9873",
  "rgb": {
    "r": 138,
    "g": 152,
    "b": 115
  },
  "hsl": {
    "h": 82.703,
    "s": 15.226,
    "l": 52.353
  },
  "oklch": {
    "l": 0.65843,
    "c": 0.05518,
    "h": 124.7
  },
  "luminance": 0.29098
}

Semantic roles & 50–950 ramp

primary
#8A9873
secondary
#B1ABBB
accent
#70B88B
background
#FAFBF9
surface
#F4F6F2
border
#CED0CC
text
#10110E
muted
#7F807E

Preview Lab

Preview with #8A9873

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

Preview Lab → · Contrast checker → · Palette generator →

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