#798474#798474

#798474 is a mid, muted grey. Relative luminance 0.218; OKLCH L 59.9% C 0.027 H 135.8°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#798474
RGBrgb(121, 132, 116)
HSLhsl(101, 6%, 49%)
HSVhsv(101, 12%, 52%)
CMYKcmyk(8.3%, 0%, 12.1%, 48.2%)
CIE-LABlab(53.84, -7.23, 7.27)
CIE-LCHlch(53.84, 10.25, 134.83°)
OKLaboklab(59.95% -0.0194 0.0189)
OKLCHoklch(59.95% 0.027 135.8)
XYZxyz(19.2882, 21.8283, 19.7167)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798474 #7F7484
analogous
#818474 #798474 #748477
triadic
#798474 #747984 #847479
tetradic
#798474 #748184 #7F7484 #847774
square
#798474 #748184 #7F7484 #847774
split-complementary
#798474 #777484 #847481
monochromatic
#3D433B #5B6357 #798474 #98A194 #B8BEB5

Accessibility & contrast

On white

3.91
#798474 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#798474 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798474
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798474#FFFFFF#000000##000000
##7984741.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#858173
Deuteranopia (green-blind)
#848075
Tritanopia (blue-blind)
#79837F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798474;
/* rgb */ color: rgb(121, 132, 116);
/* oklch */ color: oklch(59.9% 0.027 135.8);
Tailwind
colors: {
  custom: {
    50: '#9fa79c',
    500: '#798474',
    950: '#000000',
  },
}
SCSS
$custom: #798474;
$custom-light: #9fa79c;
$custom-dark: #000000;
JSON
{
  "hex": "#798474",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 116
  },
  "hsl": {
    "h": 101.25,
    "s": 6.452,
    "l": 48.627
  },
  "oklch": {
    "l": 0.59947,
    "c": 0.02708,
    "h": 135.8
  },
  "luminance": 0.21828
}

Semantic roles & 50–950 ramp

primary
#798474
secondary
#ABA6AE
accent
#78B09E
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #798474

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

Preview Lab → · Contrast checker → · Palette generator →

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