#76787F

A color in the Black, Gray, White family

#76787f is a color in the Black, Gray, White family: RGB(118, 120, 127), HSL(227°, 4%, 48%), CMYK(7%, 6%, 0%, 50%). Closest named color: gray. Contrast is 4.41:1 on white and 4.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#76787f
RGBrgb(118 120 127)
RGB (legacy)rgb(118, 120, 127)
RGB %rgb(46% 47% 50%)
HSLhsl(227 4% 48%)
HSV / HSBhsv(227, 7%, 50%)
HWBhwb(227 46% 50%)
CMYKcmyk(7%, 6%, 0%, 50%)
CIELAB (D50)lab(50.43 0.31 -4.12)
LCHlch(50.43 4.13 274.32)
OKLaboklab(0.5733 0.0006 -0.0109)
OKLCHoklch(0.5733 0.0109 273.25)
Decimal7764095

Properties

Color ToneBlack, Gray, White
Closest named colorgray ΔE 2.9
Closest web-safe color#666666
Hue227°
Saturation (HSL / HSV)4% / 7%
Lightness (HSL)48%
Brightness or Value (HSV)50%
Luminance (Rec.601 / Rec.709)47% / 47%
Relative luminance (WCAG)0.1882
Red / Green / Blue118 / 120 / 127

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.76: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 70.6 / -31.1 · As background with white / black text: Lc -76.1 / 33.5

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: #76787f;
  --color-brand-oklch: oklch(57.33% 0.0109 273.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(118 120 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#76787f] text-[#76787f] border-[#76787f]">