#797D79

A color in the Black, Gray, White family

#797d79 is a color in the Black, Gray, White family: RGB(121, 125, 121), HSL(120°, 2%, 48%), CMYK(3%, 0%, 3%, 51%). Closest named color: gray. Contrast is 4.18:1 on white and 5.02:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#797d79
RGBrgb(121 125 121)
RGB (legacy)rgb(121, 125, 121)
RGB %rgb(47% 49% 47%)
HSLhsl(120 2% 48%)
HSV / HSBhsv(120, 3%, 49%)
HWBhwb(120 47% 51%)
CMYKcmyk(3%, 0%, 3%, 51%)
CIELAB (D50)lab(51.97 -2.15 1.64)
LCHlch(51.97 2.71 142.76)
OKLaboklab(0.585 -0.0063 0.0043)
OKLCHoklch(0.585 0.0077 145.48)
Decimal7961977

Properties

Color ToneBlack, Gray, White
Closest named colorgray ΔE 1.7
Closest web-safe color#666666
Hue120°
Saturation (HSL / HSV)2% / 3%
Lightness (HSL)48%
Brightness or Value (HSV)49%
Luminance (Rec.601 / Rec.709)48% / 49%
Relative luminance (WCAG)0.2011
Red / Green / Blue121 / 125 / 121

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 68.8 / -32.8 · As background with white / black text: Lc -74.3 / 35.2

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: #797d79;
  --color-brand-oklch: oklch(58.5% 0.0077 145.48);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 125 121 / 50%); }
/* Tailwind CSS */
<div class="bg-[#797d79] text-[#797d79] border-[#797d79]">