#797C79

A color in the Black, Gray, White family

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

Color Codes

HEX#797c79
RGBrgb(121 124 121)
RGB (legacy)rgb(121, 124, 121)
RGB %rgb(47% 49% 47%)
HSLhsl(120 1% 48%)
HSV / HSBhsv(120, 2%, 49%)
HWBhwb(120 47% 51%)
CMYKcmyk(2%, 0%, 2%, 51%)
CIELAB (D50)lab(51.68 -1.62 1.23)
LCHlch(51.68 2.03 142.81)
OKLaboklab(0.5828 -0.0047 0.0033)
OKLCHoklch(0.5828 0.0058 145.5)
Decimal7961721

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.97: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 69.2 / -32.5 · As background with white / black text: Lc -74.7 / 34.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: #797c79;
  --color-brand-oklch: oklch(58.28% 0.0058 145.5);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(121 124 121 / 50%); }
/* Tailwind CSS */
<div class="bg-[#797c79] text-[#797c79] border-[#797c79]">