#838C8A#838C8A

#838C8A is a light, near-neutral grey. Relative luminance 0.254; OKLCH L 63.2% C 0.011 H 181.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#838C8A
RGBrgb(131, 140, 138)
HSLhsl(167, 4%, 53%)
HSVhsv(167, 6%, 55%)
CMYKcmyk(6.4%, 0%, 1.4%, 45.1%)
CIE-LABlab(57.48, -3.68, -0.07)
CIE-LCHlch(57.48, 3.68, 181.02°)
OKLaboklab(63.21% -0.0109 -0.0002)
OKLCHoklch(63.21% 0.011 181.2)
XYZxyz(23.3247, 25.4162, 27.7168)
Luminance0.2542 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#838C8A #8C8385
analogous
#838C85 #838C8A #83898C
triadic
#838C8A #8A838C #8C8A83
tetradic
#838C8A #85838C #8C8385 #898C83
square
#838C8A #85838C #8C8385 #898C83
split-complementary
#838C8A #8C8389 #8C8583
monochromatic
#484D4C #656D6B #838C8A #A3A9A8 #C3C7C6

Accessibility & contrast

On white

3.45
#838C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#838C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #838C8A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##838C8A#FFFFFF#000000##000000
##838C8A1.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)
#8B8B8A
Deuteranopia (green-blind)
#89898A
Tritanopia (blue-blind)
#818C8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #838c8a;
/* rgb */ color: rgb(131, 140, 138);
/* oklch */ color: oklch(63.2% 0.011 181.2);
Tailwind
colors: {
  custom: {
    50: '#a7adac',
    500: '#838c8a',
    950: '#000000',
  },
}
SCSS
$custom: #838c8a;
$custom-light: #a7adac;
$custom-dark: #000000;
JSON
{
  "hex": "#838c8a",
  "rgb": {
    "r": 131,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 166.667,
    "s": 3.766,
    "l": 53.137
  },
  "oklch": {
    "l": 0.63205,
    "c": 0.01092,
    "h": 181.2
  },
  "luminance": 0.25416
}

Semantic roles & 50–950 ramp

primary
#838C8A
secondary
#B7B3B4
accent
#7B86AD
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #838C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#838C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva