#797478#797478

#797478 is a mid, near-neutral grey. Relative luminance 0.179; OKLCH L 56.5% C 0.009 H 332.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#797478
RGBrgb(121, 116, 120)
HSLhsl(312, 2%, 46%)
HSVhsv(312, 4%, 47%)
CMYKcmyk(0%, 4.1%, 0.8%, 52.5%)
CIE-LABlab(49.39, 2.71, -1.52)
CIE-LCHlch(49.39, 3.10, 330.77°)
OKLaboklab(56.47% 0.0076 -0.004)
OKLCHoklch(56.47% 0.009 332.2)
XYZxyz(17.5202, 17.9119, 20.3000)
Luminance0.1791 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797478 #747975
analogous
#787479 #797478 #797476
triadic
#797478 #787974 #747879
tetradic
#797478 #797874 #747975 #747679
square
#797478 #797874 #747975 #747679
split-complementary
#797478 #767974 #747978
monochromatic
#3B383A #5A5659 #797478 #979396 #B5B2B5

Accessibility & contrast

On white

4.58
#797478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#797478 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797478
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797478#FFFFFF#000000##000000
##7974781.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#747578
Deuteranopia (green-blind)
#757678
Tritanopia (blue-blind)
#7A7475
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #797478;
/* rgb */ color: rgb(121, 116, 120);
/* oklch */ color: oklch(56.5% 0.009 332.2);
Tailwind
colors: {
  custom: {
    50: '#9f9c9e',
    500: '#797478',
    950: '#000000',
  },
}
SCSS
$custom: #797478;
$custom-light: #9f9c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#797478",
  "rgb": {
    "r": 121,
    "g": 116,
    "b": 120
  },
  "hsl": {
    "h": 312,
    "s": 2.11,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56472,
    "c": 0.00857,
    "h": 332.2
  },
  "luminance": 0.17912
}

Semantic roles & 50–950 ramp

primary
#797478
secondary
#A3A6A4
accent
#AB867C
background
#F9F9F9
surface
#F2F2F2
border
#CCCCCC
text
#0E0E0E
muted
#7E7E7E

Preview Lab

Preview with #797478

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

Preview Lab → · Contrast checker → · Palette generator →

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