#798489#798489

#798489 is a mid, near-neutral grey. Relative luminance 0.224; OKLCH L 60.6% C 0.015 H 226.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#798489
RGBrgb(121, 132, 137)
HSLhsl(199, 6%, 51%)
HSVhsv(199, 12%, 54%)
CMYKcmyk(11.7%, 3.6%, 0%, 46.3%)
CIE-LABlab(54.42, -2.95, -4.07)
CIE-LCHlch(54.42, 5.03, 234.03°)
OKLaboklab(60.59% -0.0103 -0.0109)
OKLCHoklch(60.59% 0.015 226.7)
XYZxyz(20.6507, 22.3733, 26.8925)
Luminance0.2237 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798489 #897E79
analogous
#798986 #798489 #797C89
triadic
#798489 #897984 #848979
tetradic
#798489 #867989 #897E79 #7C8979
square
#798489 #867989 #897E79 #7C8979
split-complementary
#798489 #89797C #898679
monochromatic
#3F4548 #5C6569 #798489 #9AA2A6 #BAC0C2

Accessibility & contrast

On white

3.84
#798489 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#798489 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798489
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798489#FFFFFF#000000##000000
##7984891.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#818389
Deuteranopia (green-blind)
#7F8189
Tritanopia (blue-blind)
#758685
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798489;
/* rgb */ color: rgb(121, 132, 137);
/* oklch */ color: oklch(60.6% 0.015 226.7);
Tailwind
colors: {
  custom: {
    50: '#9fa7ab',
    500: '#798489',
    950: '#000000',
  },
}
SCSS
$custom: #798489;
$custom-light: #9fa7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#798489",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 137
  },
  "hsl": {
    "h": 198.75,
    "s": 6.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.60593,
    "c": 0.01505,
    "h": 226.7
  },
  "luminance": 0.22374
}

Semantic roles & 50–950 ramp

primary
#798489
secondary
#B2AEAB
accent
#8A78AF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F10
muted
#7E7F7F

Preview Lab

Preview with #798489

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

Preview Lab → · Contrast checker → · Palette generator →

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