#786B6C

A color in the Black, Gray, White family

#786b6c is a color in the Black, Gray, White family: RGB(120, 107, 108), HSL(355°, 6%, 45%), CMYK(0%, 11%, 10%, 53%). Closest named color: dimgray. Contrast is 5.1:1 on white and 4.12:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#786b6c
RGBrgb(120 107 108)
RGB (legacy)rgb(120, 107, 108)
RGB %rgb(47% 42% 42%)
HSLhsl(355 6% 45%)
HSV / HSBhsv(355, 11%, 47%)
HWBhwb(355 42% 53%)
CMYKcmyk(0%, 11%, 10%, 53%)
CIELAB (D50)lab(46.48 5.42 1.4)
LCHlch(46.48 5.6 14.51)
OKLaboklab(0.5402 0.0161 0.0035)
OKLCHoklch(0.5402 0.0165 12.36)
Decimal7891820

Properties

Color ToneBlack, Gray, White
Closest named colordimgray ΔE 2.5
Closest web-safe color#666666
Hue355°
Saturation (HSL / HSV)6% / 11%
Lightness (HSL)45%
Brightness or Value (HSV)47%
Luminance (Rec.601 / Rec.709)44% / 43%
Relative luminance (WCAG)0.1559
Red / Green / Blue120 / 107 / 108

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.10:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.12:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 75.2 / -26.5 · As background with white / black text: Lc -80.6 / 28.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #786b6c;
  --color-brand-oklch: oklch(54.02% 0.0165 12.36);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(120 107 108 / 50%); }
/* Tailwind CSS */
<div class="bg-[#786b6c] text-[#786b6c] border-[#786b6c]">