#8A8C74#8A8C74

#8A8C74 is a light, muted yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.035 H 111.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#8A8C74
RGBrgb(138, 140, 116)
HSLhsl(65, 9%, 50%)
HSVhsv(65, 17%, 55%)
CMYKcmyk(1.4%, 0%, 17.1%, 45.1%)
CIE-LABlab(57.48, -5.11, 12.60)
CIE-LCHlch(57.48, 13.60, 112.06°)
OKLaboklab(63.16% -0.0126 0.0324)
OKLCHoklch(63.16% 0.035 111.3)
XYZxyz(23.0114, 25.4206, 20.2140)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C74 #76748C
analogous
#8C8274 #8A8C74 #7E8C74
triadic
#8A8C74 #748A8C #8C748A
tetradic
#8A8C74 #748C82 #76748C #8C747E
square
#8A8C74 #748C82 #76748C #8C747E
split-complementary
#8A8C74 #747E8C #82748C
monochromatic
#48493C #696B58 #8A8C74 #A6A895 #C2C3B7

Accessibility & contrast

On white

3.45
#8A8C74 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#8A8C74 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C74
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C74#FFFFFF#000000##000000
##8A8C741.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8c74;
/* rgb */ color: rgb(138, 140, 116);
/* oklch */ color: oklch(63.2% 0.035 111.3);
Tailwind
colors: {
  custom: {
    50: '#acad9c',
    500: '#8a8c74',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c74;
$custom-light: #acad9c;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c74",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 116
  },
  "hsl": {
    "h": 65,
    "s": 9.449,
    "l": 50.196
  },
  "oklch": {
    "l": 0.63164,
    "c": 0.03477,
    "h": 111.3
  },
  "luminance": 0.2542
}

Semantic roles & 50–950 ramp

primary
#8A8C74
secondary
#A9A9B3
accent
#75B27A
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E

Preview Lab

Preview with #8A8C74

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

Preview Lab → · Contrast checker → · Palette generator →

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