#8A8D6A#8A8D6A

#8A8D6A is a light, muted yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.050 H 111.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A8D6A
RGBrgb(138, 141, 106)
HSLhsl(65, 14%, 48%)
HSVhsv(65, 25%, 55%)
CMYKcmyk(2.1%, 0%, 24.8%, 44.7%)
CIE-LABlab(57.55, -7.25, 18.36)
CIE-LCHlch(57.55, 19.74, 111.54°)
OKLaboklab(63.15% -0.0186 0.0465)
OKLCHoklch(63.15% 0.05 111.8)
XYZxyz(22.6075, 25.4939, 17.3627)
Luminance0.2549 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D6A #6D6A8D
analogous
#8D7E6A #8A8D6A #788D6A
triadic
#8A8D6A #6A8A8D #8D6A8A
tetradic
#8A8D6A #6A8D7E #6D6A8D #8D6A78
square
#8A8D6A #6A8D7E #6D6A8D #8D6A78
split-complementary
#8A8D6A #6A788D #7E6A8D
monochromatic
#464735 #686A50 #8A8D6A #A6A88C #C1C3AF

Accessibility & contrast

On white

3.44
#8A8D6A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8A8D6A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D6A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D6A#FFFFFF#000000##000000
##8A8D6A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928A68
Deuteranopia (green-blind)
#938B6B
Tritanopia (blue-blind)
#8F8984
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8d6a;
/* rgb */ color: rgb(138, 141, 106);
/* oklch */ color: oklch(63.1% 0.050 111.8);
Tailwind
colors: {
  custom: {
    50: '#acae94',
    500: '#8a8d6a',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d6a;
$custom-light: #acae94;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d6a",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 106
  },
  "hsl": {
    "h": 65.143,
    "s": 14.17,
    "l": 48.431
  },
  "oklch": {
    "l": 0.6315,
    "c": 0.05005,
    "h": 111.8
  },
  "luminance": 0.25494
}

Semantic roles & 50–950 ramp

primary
#8A8D6A
secondary
#A2A1B2
accent
#71B777
background
#FAFAF9
surface
#F4F4F1
border
#CECECB
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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