#797E73#797E73

#797E73 is a mid, near-neutral grey. Relative luminance 0.202; OKLCH L 58.6% C 0.017 H 127.0°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#797E73
RGBrgb(121, 126, 115)
HSLhsl(87, 5%, 47%)
HSVhsv(87, 9%, 49%)
CMYKcmyk(4%, 0%, 8.7%, 50.6%)
CIE-LABlab(52.09, -4.04, 5.34)
CIE-LCHlch(52.09, 6.70, 127.08°)
OKLaboklab(58.55% -0.0105 0.014)
OKLCHoklch(58.55% 0.017 127)
XYZxyz(18.4400, 20.2244, 19.1486)
Luminance0.2022 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E73 #78737E
analogous
#7E7D73 #797E73 #747E73
triadic
#797E73 #73797E #7E7379
tetradic
#797E73 #737E7D #78737E #7E7374
square
#797E73 #737E7D #78737E #7E7374
split-complementary
#797E73 #73747E #7D737E
monochromatic
#3C3E39 #5A5E56 #797E73 #989C92 #B6B9B2

Accessibility & contrast

On white

4.16
#797E73 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#797E73 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E73
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E73#FFFFFF#000000##000000
##797E731.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7C72
Deuteranopia (green-blind)
#7F7C73
Tritanopia (blue-blind)
#7A7D7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e73;
/* rgb */ color: rgb(121, 126, 115);
/* oklch */ color: oklch(58.6% 0.017 127.0);
Tailwind
colors: {
  custom: {
    50: '#9fa39b',
    500: '#797e73',
    950: '#000000',
  },
}
SCSS
$custom: #797e73;
$custom-light: #9fa39b;
$custom-dark: #000000;
JSON
{
  "hex": "#797e73",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 115
  },
  "hsl": {
    "h": 87.273,
    "s": 4.564,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58551,
    "c": 0.01747,
    "h": 127
  },
  "luminance": 0.20224
}

Semantic roles & 50–950 ramp

primary
#797E73
secondary
#A6A4A9
accent
#7AAE92
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E73

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

Preview Lab → · Contrast checker → · Palette generator →

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