#7C786E#7C786E

#7C786E is a mid, near-neutral grey. Relative luminance 0.188; OKLCH L 57.3% C 0.016 H 88.7°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#7C786E
RGBrgb(124, 120, 110)
HSLhsl(43, 6%, 46%)
HSVhsv(43, 11%, 49%)
CMYKcmyk(0%, 3.2%, 11.3%, 51.4%)
CIE-LABlab(50.50, -0.36, 6.03)
CIE-LCHlch(50.50, 6.05, 93.44°)
OKLaboklab(57.32% 0.0004 0.0158)
OKLCHoklch(57.32% 0.016 88.7)
XYZxyz(17.8428, 18.8440, 17.4461)
Luminance0.1884 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C786E #6E727C
analogous
#7C716E #7C786E #797C6E
triadic
#7C786E #6E7C78 #786E7C
tetradic
#7C786E #6E7C71 #6E727C #7C6E79
square
#7C786E #6E7C71 #6E727C #7C6E79
split-complementary
#7C786E #6E797C #716E7C
monochromatic
#3B3934 #5C5951 #7C786E #9A968D #B7B4AE

Accessibility & contrast

On white

4.40
#7C786E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#7C786E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C786E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C786E#FFFFFF#000000##000000
##7C786E1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B786D
Deuteranopia (green-blind)
#7C796E
Tritanopia (blue-blind)
#7F7675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7c786e;
/* rgb */ color: rgb(124, 120, 110);
/* oklch */ color: oklch(57.3% 0.016 88.7);
Tailwind
colors: {
  custom: {
    50: '#a29e97',
    500: '#7c786e',
    950: '#000000',
  },
}
SCSS
$custom: #7c786e;
$custom-light: #a29e97;
$custom-dark: #000000;
JSON
{
  "hex": "#7c786e",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 42.857,
    "s": 5.983,
    "l": 45.882
  },
  "oklch": {
    "l": 0.5732,
    "c": 0.01576,
    "h": 88.7
  },
  "luminance": 0.18844
}

Semantic roles & 50–950 ramp

primary
#7C786E
secondary
#9FA1A7
accent
#88AF79
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0F0E0D
muted
#7E7E7E

Preview Lab

Preview with #7C786E

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

Preview Lab → · Contrast checker → · Palette generator →

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