#8A9178#8A9178

#8A9178 is a light, muted yellow-green. Relative luminance 0.270; OKLCH L 64.4% C 0.037 H 120.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8A9178
RGBrgb(138, 145, 120)
HSLhsl(77, 10%, 52%)
HSVhsv(77, 17%, 57%)
CMYKcmyk(4.8%, 0%, 17.2%, 43.1%)
CIE-LABlab(58.98, -7.19, 12.43)
CIE-LCHlch(58.98, 14.36, 120.05°)
OKLaboklab(64.38% -0.0186 0.032)
OKLCHoklch(64.38% 0.037 120.2)
XYZxyz(23.9964, 27.0102, 21.7150)
Luminance0.2701 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9178 #7F7891
analogous
#918C78 #8A9178 #7E9178
triadic
#8A9178 #788A91 #91788A
tetradic
#8A9178 #78918C #7F7891 #91787E
square
#8A9178 #78918C #7F7891 #91787E
split-complementary
#8A9178 #787E91 #8C7891
monochromatic
#4B4F40 #6A705C #8A9178 #A7AC9A #C4C8BB

Accessibility & contrast

On white

3.28
#8A9178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#8A9178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9178
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9178#FFFFFF#000000##000000
##8A91781.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948E77
Deuteranopia (green-blind)
#948E79
Tritanopia (blue-blind)
#8C8E8A
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a9178;
/* rgb */ color: rgb(138, 145, 120);
/* oklch */ color: oklch(64.4% 0.037 120.2);
Tailwind
colors: {
  custom: {
    50: '#acb19f',
    500: '#8a9178',
    950: '#000000',
  },
}
SCSS
$custom: #8a9178;
$custom-light: #acb19f;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9178",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 120
  },
  "hsl": {
    "h": 76.8,
    "s": 10.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.64382,
    "c": 0.037,
    "h": 120.2
  },
  "luminance": 0.2701
}

Semantic roles & 50–950 ramp

primary
#8A9178
secondary
#B0ADB8
accent
#75B386
background
#FAFAF9
surface
#F4F5F2
border
#CECFCC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A9178

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

Preview Lab → · Contrast checker → · Palette generator →

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