#8A8C72#8A8C72

#8A8C72 is a light, muted yellow. Relative luminance 0.254; OKLCH L 63.1% C 0.038 H 111.0°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8A8C72
RGBrgb(138, 140, 114)
HSLhsl(65, 10%, 50%)
HSVhsv(65, 19%, 55%)
CMYKcmyk(1.4%, 0%, 18.6%, 45.1%)
CIE-LABlab(57.44, -5.44, 13.68)
CIE-LCHlch(57.44, 14.72, 111.68°)
OKLaboklab(63.12% -0.0135 0.0351)
OKLCHoklch(63.12% 0.038 111)
XYZxyz(22.8963, 25.3745, 19.6079)
Luminance0.2537 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C72 #74728C
analogous
#8C8172 #8A8C72 #7D8C72
triadic
#8A8C72 #728A8C #8C728A
tetradic
#8A8C72 #728C81 #74728C #8C727D
square
#8A8C72 #728C81 #74728C #8C727D
split-complementary
#8A8C72 #727D8C #81728C
monochromatic
#47493B #696A57 #8A8C72 #A6A894 #C2C3B5

Accessibility & contrast

On white

3.46
#8A8C72 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#8A8C72 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C72
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C72#FFFFFF#000000##000000
##8A8C721.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#908970
Deuteranopia (green-blind)
#908A73
Tritanopia (blue-blind)
#8E8985
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8c72;
/* rgb */ color: rgb(138, 140, 114);
/* oklch */ color: oklch(63.1% 0.038 111.0);
Tailwind
colors: {
  custom: {
    50: '#acad9a',
    500: '#8a8c72',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c72;
$custom-light: #acad9a;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c72",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 114
  },
  "hsl": {
    "h": 64.615,
    "s": 10.236,
    "l": 49.804
  },
  "oklch": {
    "l": 0.63115,
    "c": 0.03758,
    "h": 111
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#8A8C72
secondary
#A8A7B3
accent
#75B379
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8C72

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

Preview Lab → · Contrast checker → · Palette generator →

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