#8A8F6F#8A8F6F

#8A8F6F is a light, muted yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.046 H 114.9°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8A8F6F
RGBrgb(138, 143, 111)
HSLhsl(69, 13%, 50%)
HSVhsv(69, 22%, 56%)
CMYKcmyk(3.5%, 0%, 22.4%, 43.9%)
CIE-LABlab(58.22, -7.57, 16.46)
CIE-LCHlch(58.22, 18.12, 114.70°)
OKLaboklab(63.72% -0.0195 0.0419)
OKLCHoklch(63.72% 0.046 114.9)
XYZxyz(23.1727, 26.1960, 18.8714)
Luminance0.2620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F6F #746F8F
analogous
#8F846F #8A8F6F #7A8F6F
triadic
#8A8F6F #6F8A8F #8F6F8A
tetradic
#8A8F6F #6F8F84 #746F8F #8F6F7A
square
#8A8F6F #6F8F84 #746F8F #8F6F7A
split-complementary
#8A8F6F #6F7A8F #846F8F
monochromatic
#474A3A #696D54 #8A8F6F #A6AA91 #C2C5B4

Accessibility & contrast

On white

3.37
#8A8F6F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8A8F6F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F6F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F6F#FFFFFF#000000##000000
##8A8F6F1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948C6D
Deuteranopia (green-blind)
#938C70
Tritanopia (blue-blind)
#8E8B86
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a8f6f;
/* rgb */ color: rgb(138, 143, 111);
/* oklch */ color: oklch(63.7% 0.046 114.9);
Tailwind
colors: {
  custom: {
    50: '#acaf98',
    500: '#8a8f6f',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f6f;
$custom-light: #acaf98;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f6f",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 111
  },
  "hsl": {
    "h": 69.375,
    "s": 12.598,
    "l": 49.804
  },
  "oklch": {
    "l": 0.63715,
    "c": 0.04622,
    "h": 114.9
  },
  "luminance": 0.26196
}

Semantic roles & 50–950 ramp

primary
#8A8F6F
secondary
#A8A6B4
accent
#72B57D
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100D
muted
#7F7F7E

Preview Lab

Preview with #8A8F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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