#7D786F#7D786F

#7D786F is a mid, near-neutral grey. Relative luminance 0.189; OKLCH L 57.4% C 0.015 H 82.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7D786F
RGBrgb(125, 120, 111)
HSLhsl(39, 6%, 46%)
HSVhsv(39, 11%, 49%)
CMYKcmyk(0%, 4%, 11.2%, 51%)
CIE-LABlab(50.62, 0.21, 5.62)
CIE-LCHlch(50.62, 5.63, 87.82°)
OKLaboklab(57.44% 0.002 0.0147)
OKLCHoklch(57.44% 0.015 82.4)
XYZxyz(18.0429, 18.9408, 17.7413)
Luminance0.1894 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D786F #6F747D
analogous
#7D716F #7D786F #7B7D6F
triadic
#7D786F #6F7D78 #786F7D
tetradic
#7D786F #6F7D71 #6F747D #7D6F7B
square
#7D786F #6F7D71 #6F747D #7D6F7B
split-complementary
#7D786F #6F7B7D #716F7D
monochromatic
#3C3A35 #5D5952 #7D786F #9B968E #B8B4AF

Accessibility & contrast

On white

4.39
#7D786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#7D786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D786F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D786F#FFFFFF#000000##000000
##7D786F1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d786f;
/* rgb */ color: rgb(125, 120, 111);
/* oklch */ color: oklch(57.4% 0.015 82.4);
Tailwind
colors: {
  custom: {
    50: '#a29e98',
    500: '#7d786f',
    950: '#000000',
  },
}
SCSS
$custom: #7d786f;
$custom-light: #a29e98;
$custom-dark: #000000;
JSON
{
  "hex": "#7d786f",
  "rgb": {
    "r": 125,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 38.571,
    "s": 5.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5744,
    "c": 0.01484,
    "h": 82.4
  },
  "luminance": 0.18941
}

Semantic roles & 50–950 ramp

primary
#7D786F
secondary
#A0A3A8
accent
#8CAF79
background
#FAF9F9
surface
#F3F2F2
border
#CDCCCC
text
#0F0E0D
muted
#7F7E7E

Preview Lab

Preview with #7D786F

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

Preview Lab → · Contrast checker → · Palette generator →

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