#798786#798786

#798786 is a mid, near-neutral grey. Relative luminance 0.231; OKLCH L 61.2% C 0.016 H 191.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#798786
RGBrgb(121, 135, 134)
HSLhsl(176, 6%, 50%)
HSVhsv(176, 10%, 53%)
CMYKcmyk(10.4%, 0%, 0.7%, 47.1%)
CIE-LABlab(55.19, -5.29, -1.20)
CIE-LCHlch(55.19, 5.43, 192.77°)
OKLaboklab(61.17% -0.0161 -0.0033)
OKLCHoklch(61.17% 0.016 191.5)
XYZxyz(20.8512, 23.1138, 25.9125)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798786 #87797A
analogous
#79877F #798786 #798187
triadic
#798786 #867987 #878679
tetradic
#798786 #7F7987 #87797A #818779
square
#798786 #7F7987 #87797A #818779
split-complementary
#798786 #877981 #877F79
monochromatic
#3F4646 #5C6766 #798786 #99A4A3 #BAC1C0

Accessibility & contrast

On white

3.73
#798786 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#798786 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798786
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798786#FFFFFF#000000##000000
##7987861.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#858586
Deuteranopia (green-blind)
#828386
Tritanopia (blue-blind)
#758887
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #798786;
/* rgb */ color: rgb(121, 135, 134);
/* oklch */ color: oklch(61.2% 0.016 191.5);
Tailwind
colors: {
  custom: {
    50: '#9faaa9',
    500: '#798786',
    950: '#000000',
  },
}
SCSS
$custom: #798786;
$custom-light: #9faaa9;
$custom-dark: #000000;
JSON
{
  "hex": "#798786",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 134
  },
  "hsl": {
    "h": 175.714,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.01643,
    "h": 191.5
  },
  "luminance": 0.23114
}

Semantic roles & 50–950 ramp

primary
#798786
secondary
#B1ABAB
accent
#797DAF
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E100F
muted
#7E7F7F

Preview Lab

Preview with #798786

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

Preview Lab → · Contrast checker → · Palette generator →

#798786 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva