#7A786E#7A786E

#7A786E is a mid, near-neutral grey. Relative luminance 0.187; OKLCH L 57.1% C 0.015 H 97.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#7A786E
RGBrgb(122, 120, 110)
HSLhsl(50, 5%, 45%)
HSVhsv(50, 10%, 48%)
CMYKcmyk(0%, 1.6%, 9.8%, 52.2%)
CIE-LABlab(50.33, -1.15, 5.76)
CIE-LCHlch(50.33, 5.88, 101.29°)
OKLaboklab(57.14% -0.002 0.0151)
OKLCHoklch(57.14% 0.015 97.6)
XYZxyz(17.5567, 18.6964, 17.4327)
Luminance0.1870 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A786E #6E707A
analogous
#7A726E #7A786E #767A6E
triadic
#7A786E #6E7A78 #786E7A
tetradic
#7A786E #6E7A72 #6E707A #7A6E76
square
#7A786E #6E7A72 #6E707A #7A6E76
split-complementary
#7A786E #6E767A #726E7A
monochromatic
#3A3934 #5A5851 #7A786E #98968D #B5B4AD

Accessibility & contrast

On white

4.43
#7A786E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#7A786E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A786E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A786E#FFFFFF#000000##000000
##7A786E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A776D
Deuteranopia (green-blind)
#7B786E
Tritanopia (blue-blind)
#7C7675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7a786e;
/* rgb */ color: rgb(122, 120, 110);
/* oklch */ color: oklch(57.1% 0.015 97.6);
Tailwind
colors: {
  custom: {
    50: '#a09e97',
    500: '#7a786e',
    950: '#000000',
  },
}
SCSS
$custom: #7a786e;
$custom-light: #a09e97;
$custom-dark: #000000;
JSON
{
  "hex": "#7a786e",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 50,
    "s": 5.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57141,
    "c": 0.01519,
    "h": 97.6
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#7A786E
secondary
#9FA0A5
accent
#82AE79
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #7A786E

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

Preview Lab → · Contrast checker → · Palette generator →

#7A786E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva