#6A786C#6A786C

#6A786C is a mid, muted grey. Relative luminance 0.176; OKLCH L 55.7% C 0.025 H 149.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6A786C
RGBrgb(106, 120, 108)
HSLhsl(129, 6%, 44%)
HSVhsv(129, 12%, 47%)
CMYKcmyk(11.7%, 0%, 10%, 52.9%)
CIE-LABlab(48.98, -7.71, 4.84)
CIE-LCHlch(48.98, 9.10, 147.91°)
OKLaboklab(55.74% -0.0213 0.0126)
OKLCHoklch(55.74% 0.025 149.4)
XYZxyz(15.3665, 17.5796, 16.7681)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A786C #786A76
analogous
#6F786A #6A786C #6A7873
triadic
#6A786C #6C6A78 #786C6A
tetradic
#6A786C #6A6F78 #786A76 #78736A
square
#6A786C #6A6F78 #786A76 #78736A
split-complementary
#6A786C #736A78 #786A6F
monochromatic
#313732 #4D584F #6A786C #89978B #A9B3AB

Accessibility & contrast

On white

4.65
#6A786C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6A786C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A786C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A786C#FFFFFF#000000##FFFFFF
##6A786C1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78756B
Deuteranopia (green-blind)
#76746D
Tritanopia (blue-blind)
#687774
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a786c;
/* rgb */ color: rgb(106, 120, 108);
/* oklch */ color: oklch(55.7% 0.025 149.4);
Tailwind
colors: {
  custom: {
    50: '#949f96',
    500: '#6a786c',
    950: '#000000',
  },
}
SCSS
$custom: #6a786c;
$custom-light: #949f96;
$custom-dark: #000000;
JSON
{
  "hex": "#6a786c",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 128.571,
    "s": 6.195,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55736,
    "c": 0.02475,
    "h": 149.4
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#6A786C
secondary
#A39BA2
accent
#79A7AF
background
#F9F9F9
surface
#F1F2F1
border
#CBCCCB
text
#0D0E0D
muted
#7E7E7E

Preview Lab

Preview with #6A786C

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

Preview Lab → · Contrast checker → · Palette generator →

#6A786C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva