#797E75#797E75

#797E75 is a mid, near-neutral grey. Relative luminance 0.203; OKLCH L 58.6% C 0.015 H 130.9°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#797E75
RGBrgb(121, 126, 117)
HSLhsl(93, 4%, 48%)
HSVhsv(93, 7%, 49%)
CMYKcmyk(4%, 0%, 7.1%, 50.6%)
CIE-LABlab(52.14, -3.66, 4.25)
CIE-LCHlch(52.14, 5.61, 130.70°)
OKLaboklab(58.61% -0.0096 0.0111)
OKLCHoklch(58.61% 0.015 130.9)
XYZxyz(18.5564, 20.2710, 19.7613)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797E75 #7A757E
analogous
#7E7E75 #797E75 #757E75
triadic
#797E75 #75797E #7E7579
tetradic
#797E75 #757E7E #7A757E #7E7575
square
#797E75 #757E7E #7A757E #7E7575
split-complementary
#797E75 #75757E #7E757E
monochromatic
#3C3F3A #5B5E58 #797E75 #989C94 #B6B9B4

Accessibility & contrast

On white

4.15
#797E75 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#797E75 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #797E75
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797E75#FFFFFF#000000##000000
##797E751.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F7D75
Deuteranopia (green-blind)
#7E7C75
Tritanopia (blue-blind)
#797D7B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #797e75;
/* rgb */ color: rgb(121, 126, 117);
/* oklch */ color: oklch(58.6% 0.015 130.9);
Tailwind
colors: {
  custom: {
    50: '#9fa39c',
    500: '#797e75',
    950: '#000000',
  },
}
SCSS
$custom: #797e75;
$custom-light: #9fa39c;
$custom-dark: #000000;
JSON
{
  "hex": "#797e75",
  "rgb": {
    "r": 121,
    "g": 126,
    "b": 117
  },
  "hsl": {
    "h": 93.333,
    "s": 3.704,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.01471,
    "h": 130.9
  },
  "luminance": 0.20271
}

Semantic roles & 50–950 ramp

primary
#797E75
secondary
#A8A5AA
accent
#7BAD97
background
#F9FAF9
surface
#F2F3F2
border
#CCCDCC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #797E75

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

Preview Lab → · Contrast checker → · Palette generator →

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