#6A786A#6A786A

#6A786A is a mid, muted grey. Relative luminance 0.175; OKLCH L 55.7% C 0.027 H 145.2°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#6A786A
RGBrgb(106, 120, 106)
HSLhsl(120, 6%, 44%)
HSVhsv(120, 12%, 47%)
CMYKcmyk(11.7%, 0%, 11.7%, 52.9%)
CIE-LABlab(48.93, -8.11, 5.94)
CIE-LCHlch(48.93, 10.05, 143.78°)
OKLaboklab(55.68% -0.0222 0.0154)
OKLCHoklch(55.68% 0.027 145.2)
XYZxyz(15.2613, 17.5375, 16.2139)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A786A #786A78
analogous
#71786A #6A786A #6A7871
triadic
#6A786A #6A6A78 #786A6A
tetradic
#6A786A #6A7178 #786A78 #78716A
square
#6A786A #6A7178 #786A78 #78716A
split-complementary
#6A786A #716A78 #786A71
monochromatic
#313731 #4D584D #6A786A #899789 #A9B3A9

Accessibility & contrast

On white

4.66
#6A786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#6A786A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6A786A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A786A#FFFFFF#000000##FFFFFF
##6A786A1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797569
Deuteranopia (green-blind)
#76746B
Tritanopia (blue-blind)
#697774
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6a786a;
/* rgb */ color: rgb(106, 120, 106);
/* oklch */ color: oklch(55.7% 0.027 145.2);
Tailwind
colors: {
  custom: {
    50: '#949f94',
    500: '#6a786a',
    950: '#000000',
  },
}
SCSS
$custom: #6a786a;
$custom-light: #949f94;
$custom-dark: #000000;
JSON
{
  "hex": "#6a786a",
  "rgb": {
    "r": 106,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 120,
    "s": 6.195,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55678,
    "c": 0.02706,
    "h": 145.2
  },
  "luminance": 0.17538
}

Semantic roles & 50–950 ramp

primary
#6A786A
secondary
#A39BA3
accent
#79AFAF
background
#F9F9F9
surface
#F1F2F1
border
#CBCCCB
text
#0D0E0D
muted
#7E7E7E

Preview Lab

Preview with #6A786A

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

Preview Lab → · Contrast checker → · Palette generator →

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