#797C85#797C85

#797C85 is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.7% C 0.014 H 271.2°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#797C85
RGBrgb(121, 124, 133)
HSLhsl(225, 5%, 50%)
HSVhsv(225, 9%, 52%)
CMYKcmyk(9%, 6.8%, 0%, 47.8%)
CIE-LABlab(52.03, 0.77, -5.27)
CIE-LCHlch(52.03, 5.33, 278.30°)
OKLaboklab(58.68% 0.0003 -0.0141)
OKLCHoklch(58.68% 0.014 271.2)
XYZxyz(19.3256, 20.1736, 25.0615)
Luminance0.2017 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797C85 #858279
analogous
#798285 #797C85 #7C7985
triadic
#797C85 #85797C #7C8579
tetradic
#797C85 #857982 #858279 #79857C
square
#797C85 #857982 #858279 #79857C
split-complementary
#797C85 #857C79 #828579
monochromatic
#3F4045 #5C5E65 #797C85 #999BA2 #B9BBBF

Accessibility & contrast

On white

4.17
#797C85 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#797C85 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797C85
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797C85#FFFFFF#000000##000000
##797C851.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A7D85
Deuteranopia (green-blind)
#797C85
Tritanopia (blue-blind)
#767E7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797c85;
/* rgb */ color: rgb(121, 124, 133);
/* oklch */ color: oklch(58.7% 0.014 271.2);
Tailwind
colors: {
  custom: {
    50: '#9fa1a8',
    500: '#797c85',
    950: '#000000',
  },
}
SCSS
$custom: #797c85;
$custom-light: #9fa1a8;
$custom-dark: #000000;
JSON
{
  "hex": "#797c85",
  "rgb": {
    "r": 121,
    "g": 124,
    "b": 133
  },
  "hsl": {
    "h": 225,
    "s": 4.724,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.01414,
    "h": 271.2
  },
  "luminance": 0.20174
}

Semantic roles & 50–950 ramp

primary
#797C85
secondary
#B0AEAA
accent
#A17AAE
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0F0F
muted
#7E7E7F

Preview Lab

Preview with #797C85

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

Preview Lab → · Contrast checker → · Palette generator →

#797C85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva