#796B6C

A color in the Black, Gray, White family

#796b6c is a color in the Black, Gray, White family: RGB(121, 107, 108), HSL(356°, 6%, 45%), CMYK(0%, 12%, 11%, 53%). Closest named color: dimgray. Contrast is 5.08:1 on white and 4.13:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#796b6c
RGBrgb(121 107 108)
RGB (legacy)rgb(121, 107, 108)
RGB %rgb(47% 42% 42%)
HSLhsl(356 6% 45%)
HSV / HSBhsv(356, 12%, 47%)
HWBhwb(356 42% 53%)
CMYKcmyk(0%, 12%, 11%, 53%)
CIELAB (D50)lab(46.58 5.83 1.56)
LCHlch(46.58 6.04 15)
OKLaboklab(0.5412 0.0173 0.0039)
OKLCHoklch(0.5412 0.0177 12.79)
Decimal7957356

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
5.08:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.13: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.1 / -26.6 · As background with white / black text: Lc -80.5 / 29

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: #796b6c;
  --color-brand-oklch: oklch(54.12% 0.0177 12.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 107 108 / 50%); }
/* Tailwind CSS */
<div class="bg-[#796b6c] text-[#796b6c] border-[#796b6c]">