#818C8A#818C8A

#818C8A is a light, near-neutral grey. Relative luminance 0.253; OKLCH L 63.0% C 0.013 H 183.8°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#818C8A
RGBrgb(129, 140, 138)
HSLhsl(169, 5%, 53%)
HSVhsv(169, 8%, 55%)
CMYKcmyk(7.9%, 0%, 1.4%, 45.1%)
CIE-LABlab(57.33, -4.40, -0.31)
CIE-LCHlch(57.33, 4.41, 183.99°)
OKLaboklab(63.05% -0.0131 -0.0009)
OKLCHoklch(63.05% 0.013 183.8)
XYZxyz(23.0178, 25.2580, 27.7024)
Luminance0.2526 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#818C8A #8C8183
analogous
#818C84 #818C8A #81888C
triadic
#818C8A #8A818C #8C8A81
tetradic
#818C8A #84818C #8C8183 #888C81
square
#818C8A #84818C #8C8183 #888C81
split-complementary
#818C8A #8C8188 #8C8481
monochromatic
#464D4B #636D6B #818C8A #A1A9A8 #C1C6C5

Accessibility & contrast

On white

3.47
#818C8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#818C8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #818C8A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##818C8A#FFFFFF#000000##000000
##818C8A1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B8B8A
Deuteranopia (green-blind)
#89898A
Tritanopia (blue-blind)
#7E8D8B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #818c8a;
/* rgb */ color: rgb(129, 140, 138);
/* oklch */ color: oklch(63.0% 0.013 183.8);
Tailwind
colors: {
  custom: {
    50: '#a5adac',
    500: '#818c8a',
    950: '#000000',
  },
}
SCSS
$custom: #818c8a;
$custom-light: #a5adac;
$custom-dark: #000000;
JSON
{
  "hex": "#818c8a",
  "rgb": {
    "r": 129,
    "g": 140,
    "b": 138
  },
  "hsl": {
    "h": 169.091,
    "s": 4.564,
    "l": 52.745
  },
  "oklch": {
    "l": 0.63047,
    "c": 0.01317,
    "h": 183.8
  },
  "luminance": 0.25258
}

Semantic roles & 50–950 ramp

primary
#818C8A
secondary
#B7B2B3
accent
#7A83AE
background
#FAFAFA
surface
#F4F4F4
border
#CECECE
text
#0F1010
muted
#7F7F7F

Preview Lab

Preview with #818C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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