#7A786C#7A786C

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

Color values

HEX#7A786C
RGBrgb(122, 120, 108)
HSLhsl(51, 6%, 45%)
HSVhsv(51, 11%, 48%)
CMYKcmyk(0%, 1.6%, 11.5%, 52.2%)
CIE-LABlab(50.28, -1.51, 6.86)
CIE-LCHlch(50.28, 7.03, 102.44°)
OKLaboklab(57.08% -0.0029 0.0179)
OKLCHoklch(57.08% 0.018 99.2)
XYZxyz(17.4490, 18.6534, 16.8657)
Luminance0.1865 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A786C #6C6E7A
analogous
#7A716C #7A786C #757A6C
triadic
#7A786C #6C7A78 #786C7A
tetradic
#7A786C #6C7A71 #6C6E7A #7A6C75
square
#7A786C #6C7A71 #6C6E7A #7A6C75
split-complementary
#7A786C #6C757A #716C7A
monochromatic
#393833 #5A584F #7A786C #98968B #B5B4AB

Accessibility & contrast

On white

4.44
#7A786C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#7A786C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A786C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A786C#FFFFFF#000000##000000
##7A786C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a786c;
/* rgb */ color: rgb(122, 120, 108);
/* oklch */ color: oklch(57.1% 0.018 99.2);
Tailwind
colors: {
  custom: {
    50: '#a09e96',
    500: '#7a786c',
    950: '#000000',
  },
}
SCSS
$custom: #7a786c;
$custom-light: #a09e96;
$custom-dark: #000000;
JSON
{
  "hex": "#7a786c",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 51.429,
    "s": 6.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57084,
    "c": 0.01811,
    "h": 99.2
  },
  "luminance": 0.18653
}

Semantic roles & 50–950 ramp

primary
#7A786C
secondary
#9D9EA5
accent
#80AF79
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #7A786C

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

Preview Lab → · Contrast checker → · Palette generator →

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