#7B786F#7B786F

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

Color values

HEX#7B786F
RGBrgb(123, 120, 111)
HSLhsl(45, 5%, 46%)
HSVhsv(45, 10%, 48%)
CMYKcmyk(0%, 2.4%, 9.8%, 51.8%)
CIE-LABlab(50.44, -0.57, 5.35)
CIE-LCHlch(50.44, 5.38, 96.13°)
OKLaboklab(57.26% -0.0004 0.014)
OKLCHoklch(57.26% 0.014 91.6)
XYZxyz(17.7538, 18.7917, 17.7277)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B786F #6F727B
analogous
#7B726F #7B786F #787B6F
triadic
#7B786F #6F7B78 #786F7B
tetradic
#7B786F #6F7B72 #6F727B #7B6F78
square
#7B786F #6F7B72 #6F727B #7B6F78
split-complementary
#7B786F #6F787B #726F7B
monochromatic
#3B3935 #5B5952 #7B786F #99968E #B6B4AE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B786F#FFFFFF#000000##000000
##7B786F1.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)
#7A776E
Deuteranopia (green-blind)
#7B786F
Tritanopia (blue-blind)
#7D7675
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #7b786f;
/* rgb */ color: rgb(123, 120, 111);
/* oklch */ color: oklch(57.3% 0.014 91.6);
Tailwind
colors: {
  custom: {
    50: '#a19e98',
    500: '#7b786f',
    950: '#000000',
  },
}
SCSS
$custom: #7b786f;
$custom-light: #a19e98;
$custom-dark: #000000;
JSON
{
  "hex": "#7b786f",
  "rgb": {
    "r": 123,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 45,
    "s": 5.128,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57259,
    "c": 0.014,
    "h": 91.6
  },
  "luminance": 0.18792
}

Semantic roles & 50–950 ramp

primary
#7B786F
secondary
#A0A1A6
accent
#87AE7A
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #7B786F

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

Preview Lab → · Contrast checker → · Palette generator →

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