#797E70#797E70

#797E70 is a mid, muted grey. Relative luminance 0.202; OKLCH L 58.5% C 0.022 H 123.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#797E70
RGBrgb(121, 126, 112)
HSLhsl(81, 6%, 47%)
HSVhsv(81, 11%, 49%)
CMYKcmyk(4%, 0%, 11.1%, 50.6%)
CIE-LABlab(52.01, -4.60, 6.98)
CIE-LCHlch(52.01, 8.36, 123.37°)
OKLaboklab(58.47% -0.0118 0.0182)
OKLCHoklch(58.47% 0.022 123.1)
XYZxyz(18.2702, 20.1565, 18.2542)
Luminance0.2016 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E70 #75707E
analogous
#7E7C70 #797E70 #727E70
triadic
#797E70 #70797E #7E7079
tetradic
#797E70 #707E7C #75707E #7E7072
square
#797E70 #707E7C #75707E #7E7072
split-complementary
#797E70 #70727E #7C707E
monochromatic
#3B3D36 #5A5E53 #797E70 #979C8F #B5B9B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##797E70#FFFFFF#000000##000000
##797E701.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)
#807C6F
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#7A7C7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e70;
/* rgb */ color: rgb(121, 126, 112);
/* oklch */ color: oklch(58.5% 0.022 123.1);
Tailwind
colors: {
  custom: {
    50: '#9fa399',
    500: '#797e70',
    950: '#000000',
  },
}
SCSS
$custom: #797e70;
$custom-light: #9fa399;
$custom-dark: #000000;
JSON
{
  "hex": "#797e70",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 112
  },
  "hsl": {
    "h": 81.429,
    "s": 5.882,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58465,
    "c": 0.02169,
    "h": 123.1
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#797E70
secondary
#A4A1A9
accent
#79AF8C
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #797E70

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

Preview Lab → · Contrast checker → · Palette generator →

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