#7A786A#7A786A

#7A786A is a mid, muted grey. Relative luminance 0.186; OKLCH L 57.0% C 0.021 H 100.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#7A786A
RGBrgb(122, 120, 106)
HSLhsl(53, 7%, 45%)
HSVhsv(53, 13%, 48%)
CMYKcmyk(0%, 1.6%, 13.1%, 52.2%)
CIE-LABlab(50.23, -1.87, 7.97)
CIE-LCHlch(50.23, 8.19, 103.22°)
OKLaboklab(57.03% -0.0038 0.0207)
OKLCHoklch(57.03% 0.021 100.4)
XYZxyz(17.3438, 18.6113, 16.3115)
Luminance0.1861 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A786A #6A6C7A
analogous
#7A706A #7A786A #747A6A
triadic
#7A786A #6A7A78 #786A7A
tetradic
#7A786A #6A7A70 #6A6C7A #7A6A74
square
#7A786A #6A7A70 #6A6C7A #7A6A74
split-complementary
#7A786A #6A747A #706A7A
monochromatic
#393831 #59584E #7A786A #989689 #B5B3AA

Accessibility & contrast

On white

4.45
#7A786A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#7A786A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A786A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A786A#FFFFFF#000000##000000
##7A786A1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7769
Deuteranopia (green-blind)
#7C786A
Tritanopia (blue-blind)
#7D7674
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #7a786a;
/* rgb */ color: rgb(122, 120, 106);
/* oklch */ color: oklch(57.0% 0.021 100.4);
Tailwind
colors: {
  custom: {
    50: '#a09e94',
    500: '#7a786a',
    950: '#000000',
  },
}
SCSS
$custom: #7a786a;
$custom-light: #a09e94;
$custom-dark: #000000;
JSON
{
  "hex": "#7a786a",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 52.5,
    "s": 7.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.02103,
    "h": 100.4
  },
  "luminance": 0.18611
}

Semantic roles & 50–950 ramp

primary
#7A786A
secondary
#9B9CA5
accent
#7FB078
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #7A786A

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

Preview Lab → · Contrast checker → · Palette generator →

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