#797274#797274

#797274 is a mid, near-neutral grey. Relative luminance 0.174; OKLCH L 55.9% C 0.009 H 358.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797274
RGBrgb(121, 114, 116)
HSLhsl(343, 3%, 46%)
HSVhsv(343, 6%, 47%)
CMYKcmyk(0%, 5.8%, 4.1%, 52.5%)
CIE-LABlab(48.71, 3.08, -0.14)
CIE-LCHlch(48.71, 3.09, 357.47°)
OKLaboklab(55.9% 0.0091 -0.0003)
OKLCHoklch(55.9% 0.009 358.1)
XYZxyz(17.0544, 17.3607, 18.9721)
Luminance0.1736 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797274 #727977
analogous
#797277 #797274 #797372
triadic
#797274 #747972 #727479
tetradic
#797274 #777972 #727977 #737279
square
#797274 #777972 #727977 #737279
split-complementary
#797274 #727973 #727779
monochromatic
#3A3738 #595456 #797274 #979193 #B5B0B2

Accessibility & contrast

On white

4.70
#797274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#797274 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797274
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797274#FFFFFF#000000##FFFFFF
##7972741.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #797274;
/* rgb */ color: rgb(121, 114, 116);
/* oklch */ color: oklch(55.9% 0.009 358.1);
Tailwind
colors: {
  custom: {
    50: '#9f9a9c',
    500: '#797274',
    950: '#000000',
  },
}
SCSS
$custom: #797274;
$custom-light: #9f9a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#797274",
  "rgb": {
    "r": 121,
    "g": 114,
    "b": 116
  },
  "hsl": {
    "h": 342.857,
    "s": 2.979,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55902,
    "c": 0.00915,
    "h": 358.1
  },
  "luminance": 0.17361
}

Semantic roles & 50–950 ramp

primary
#797274
secondary
#A1A5A4
accent
#AC9E7C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797274

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

Preview Lab → · Contrast checker → · Palette generator →

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