#8A8D6E#8A8D6E

#8A8D6E is a light, muted yellow. Relative luminance 0.256; OKLCH L 63.2% C 0.045 H 112.2°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#8A8D6E
RGBrgb(138, 141, 110)
HSLhsl(66, 12%, 49%)
HSVhsv(66, 22%, 55%)
CMYKcmyk(2.1%, 0%, 22%, 44.7%)
CIE-LABlab(57.64, -6.63, 16.22)
CIE-LCHlch(57.64, 17.52, 112.23°)
OKLaboklab(63.24% -0.0168 0.0413)
OKLCHoklch(63.24% 0.045 112.2)
XYZxyz(22.8204, 25.5790, 18.4839)
Luminance0.2558 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D6E #716E8D
analogous
#8D816E #8A8D6E #7B8D6E
triadic
#8A8D6E #6E8A8D #8D6E8A
tetradic
#8A8D6E #6E8D81 #716E8D #8D6E7B
square
#8A8D6E #6E8D81 #716E8D #8D6E7B
split-complementary
#8A8D6E #6E7B8D #816E8D
monochromatic
#474838 #686B53 #8A8D6E #A6A890 #C2C3B2

Accessibility & contrast

On white

3.43
#8A8D6E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#8A8D6E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D6E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D6E#FFFFFF#000000##000000
##8A8D6E1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928A6C
Deuteranopia (green-blind)
#928B6F
Tritanopia (blue-blind)
#8E8985
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a8d6e;
/* rgb */ color: rgb(138, 141, 110);
/* oklch */ color: oklch(63.2% 0.045 112.2);
Tailwind
colors: {
  custom: {
    50: '#acae97',
    500: '#8a8d6e',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d6e;
$custom-light: #acae97;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d6e",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 110
  },
  "hsl": {
    "h": 65.806,
    "s": 12.351,
    "l": 49.216
  },
  "oklch": {
    "l": 0.63242,
    "c": 0.04459,
    "h": 112.2
  },
  "luminance": 0.25579
}

Semantic roles & 50–950 ramp

primary
#8A8D6E
secondary
#A6A4B3
accent
#73B579
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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