#8A8868#8A8868

#8A8868 is a mid, muted yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.046 H 104.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8868
RGBrgb(138, 136, 104)
HSLhsl(56, 14%, 47%)
HSVhsv(56, 25%, 54%)
CMYKcmyk(0%, 1.4%, 24.6%, 45.9%)
CIE-LABlab(56.10, -4.78, 17.51)
CIE-LCHlch(56.10, 18.15, 105.29°)
OKLaboklab(61.99% -0.0116 0.0444)
OKLCHoklch(61.99% 0.046 104.7)
XYZxyz(21.7841, 24.0114, 16.5811)
Luminance0.2401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8868 #686A8A
analogous
#8A7768 #8A8868 #7B8A68
triadic
#8A8868 #688A88 #88688A
tetradic
#8A8868 #688A77 #686A8A #8A687B
square
#8A8868 #688A77 #686A8A #8A687B
split-complementary
#8A8868 #687B8A #77688A
monochromatic
#444333 #67664E #8A8868 #A6A489 #C0BFAC

Accessibility & contrast

On white

3.62
#8A8868 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#8A8868 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8868
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8868#FFFFFF#000000##000000
##8A88681.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8566
Deuteranopia (green-blind)
#8F8769
Tritanopia (blue-blind)
#8F847F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8a8868;
/* rgb */ color: rgb(138, 136, 104);
/* oklch */ color: oklch(62.0% 0.046 104.7);
Tailwind
colors: {
  custom: {
    50: '#acaa93',
    500: '#8a8868',
    950: '#000000',
  },
}
SCSS
$custom: #8a8868;
$custom-light: #acaa93;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8868",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 104
  },
  "hsl": {
    "h": 56.471,
    "s": 14.05,
    "l": 47.451
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.04587,
    "h": 104.7
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#8A8868
secondary
#9E9FB0
accent
#75B771
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8868

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

Preview Lab → · Contrast checker → · Palette generator →

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