#797277#797277

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

Color values

HEX#797277
RGBrgb(121, 114, 119)
HSLhsl(317, 3%, 46%)
HSVhsv(317, 6%, 47%)
CMYKcmyk(0%, 5.8%, 1.7%, 52.5%)
CIE-LABlab(48.80, 3.68, -1.79)
CIE-LCHlch(48.80, 4.09, 334.09°)
OKLaboklab(56% 0.0104 -0.0047)
OKLCHoklch(56% 0.011 335.7)
XYZxyz(17.2318, 17.4316, 19.9060)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797277 #727974
analogous
#777279 #797277 #797273
triadic
#797277 #777972 #727779
tetradic
#797277 #797772 #727974 #727379
square
#797277 #797772 #727974 #727379
split-complementary
#797277 #737972 #727977
monochromatic
#3A3739 #595458 #797277 #979195 #B5B0B4

Accessibility & contrast

On white

4.68
#797277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#797277 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797277
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797277#FFFFFF#000000##FFFFFF
##7972771.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#727377
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#7A7274
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797277;
/* rgb */ color: rgb(121, 114, 119);
/* oklch */ color: oklch(56.0% 0.011 335.7);
Tailwind
colors: {
  custom: {
    50: '#9f9a9e',
    500: '#797277',
    950: '#000000',
  },
}
SCSS
$custom: #797277;
$custom-light: #9f9a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#797277",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 119
  },
  "hsl": {
    "h": 317.143,
    "s": 2.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.56,
    "c": 0.01141,
    "h": 335.7
  },
  "luminance": 0.17431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #797277

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

Preview Lab → · Contrast checker → · Palette generator →

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