#7C786C#7C786C

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

Color values

HEX#7C786C
RGBrgb(124, 120, 108)
HSLhsl(45, 7%, 45%)
HSVhsv(45, 13%, 49%)
CMYKcmyk(0%, 3.2%, 12.9%, 51.4%)
CIE-LABlab(50.45, -0.72, 7.14)
CIE-LCHlch(50.45, 7.17, 95.76°)
OKLaboklab(57.26% -0.0005 0.0186)
OKLCHoklch(57.26% 0.019 91.7)
XYZxyz(17.7352, 18.8009, 16.8791)
Luminance0.1880 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C786C #6C707C
analogous
#7C706C #7C786C #787C6C
triadic
#7C786C #6C7C78 #786C7C
tetradic
#7C786C #6C7C70 #6C707C #7C6C78
square
#7C786C #6C7C70 #6C707C #7C6C78
split-complementary
#7C786C #6C787C #706C7C
monochromatic
#3B3933 #5B5850 #7C786C #9A968B #B7B4AC

Accessibility & contrast

On white

4.41
#7C786C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#7C786C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C786C
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C786C#FFFFFF#000000##000000
##7C786C1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c786c;
/* rgb */ color: rgb(124, 120, 108);
/* oklch */ color: oklch(57.3% 0.019 91.7);
Tailwind
colors: {
  custom: {
    50: '#a29e96',
    500: '#7c786c',
    950: '#000000',
  },
}
SCSS
$custom: #7c786c;
$custom-light: #a29e96;
$custom-dark: #000000;
JSON
{
  "hex": "#7c786c",
  "rgb": {
    "r": 124,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 45,
    "s": 6.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.0186,
    "h": 91.7
  },
  "luminance": 0.18801
}

Semantic roles & 50–950 ramp

primary
#7C786C
secondary
#9DA0A6
accent
#86B078
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0F0E0D
muted
#7E7E7E

Preview Lab

Preview with #7C786C

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

Preview Lab → · Contrast checker → · Palette generator →

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