#797276#797276

#797276 is a mid, near-neutral grey. Relative luminance 0.174; OKLCH L 56.0% C 0.010 H 342.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#797276
RGBrgb(121, 114, 118)
HSLhsl(326, 3%, 46%)
HSVhsv(326, 6%, 47%)
CMYKcmyk(0%, 5.8%, 2.5%, 52.5%)
CIE-LABlab(48.77, 3.48, -1.24)
CIE-LCHlch(48.77, 3.69, 340.42°)
OKLaboklab(55.97% 0.01 -0.0032)
OKLCHoklch(55.97% 0.01 342)
XYZxyz(17.1720, 17.4077, 19.5914)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797276 #727975
analogous
#787279 #797276 #797272
triadic
#797276 #767972 #727679
tetradic
#797276 #797872 #727975 #727279
square
#797276 #797872 #727975 #727279
split-complementary
#797276 #727972 #727978
monochromatic
#3A3739 #595457 #797276 #979195 #B5B0B3

Accessibility & contrast

On white

4.69
#797276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#797276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797276
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797276#FFFFFF#000000##FFFFFF
##7972761.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727376
Deuteranopia (green-blind)
#747476
Tritanopia (blue-blind)
#7A7273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797276;
/* rgb */ color: rgb(121, 114, 118);
/* oklch */ color: oklch(56.0% 0.010 342.0);
Tailwind
colors: {
  custom: {
    50: '#9f9a9d',
    500: '#797276',
    950: '#000000',
  },
}
SCSS
$custom: #797276;
$custom-light: #9f9a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#797276",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 118
  },
  "hsl": {
    "h": 325.714,
    "s": 2.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55967,
    "c": 0.01049,
    "h": 342
  },
  "luminance": 0.17408
}

Semantic roles & 50–950 ramp

primary
#797276
secondary
#A1A5A3
accent
#AC907C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797276

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#797276 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva