#79817E#79817E

#79817E is a mid, near-neutral grey. Relative luminance 0.213; OKLCH L 59.6% C 0.010 H 171.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#79817E
RGBrgb(121, 129, 126)
HSLhsl(158, 3%, 49%)
HSVhsv(158, 6%, 51%)
CMYKcmyk(6.2%, 0%, 2.3%, 49.4%)
CIE-LABlab(53.25, -3.57, 0.60)
CIE-LCHlch(53.25, 3.62, 170.45°)
OKLaboklab(59.56% -0.0104 0.0015)
OKLCHoklch(59.56% 0.01 171.6)
XYZxyz(19.5006, 21.2716, 22.8131)
Luminance0.2127 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79817E #81797C
analogous
#79817A #79817E #798081
triadic
#79817E #7E7981 #817E79
tetradic
#79817E #7A7981 #81797C #808179
square
#79817E #7A7981 #81797C #808179
split-complementary
#79817E #817980 #817A79
monochromatic
#3E4240 #5B615F #79817E #989F9C #B8BCBB

Accessibility & contrast

On white

4.00
#79817E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#79817E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79817E
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79817E#FFFFFF#000000##000000
##79817E1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80807E
Deuteranopia (green-blind)
#7F7F7E
Tritanopia (blue-blind)
#778180
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #79817e;
/* rgb */ color: rgb(121, 129, 126);
/* oklch */ color: oklch(59.6% 0.010 171.6);
Tailwind
colors: {
  custom: {
    50: '#9fa5a3',
    500: '#79817e',
    950: '#000000',
  },
}
SCSS
$custom: #79817e;
$custom-light: #9fa5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79817e",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 126
  },
  "hsl": {
    "h": 157.5,
    "s": 3.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.01049,
    "h": 171.6
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#79817E
secondary
#ADA9AA
accent
#7B8EAC
background
#F9FAFA
surface
#F2F4F3
border
#CCCECD
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #79817E

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

Preview Lab → · Contrast checker → · Palette generator →

#79817E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva