#798286#798286

#798286 is a mid, near-neutral grey. Relative luminance 0.218; OKLCH L 60.0% C 0.012 H 226.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#798286
RGBrgb(121, 130, 134)
HSLhsl(198, 5%, 50%)
HSVhsv(198, 10%, 53%)
CMYKcmyk(9.7%, 3%, 0%, 47.5%)
CIE-LABlab(53.76, -2.46, -3.30)
CIE-LCHlch(53.76, 4.12, 233.24°)
OKLaboklab(60.04% -0.0085 -0.0089)
OKLCHoklch(60.04% 0.012 226.1)
XYZxyz(20.1699, 21.7512, 25.6854)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798286 #867D79
analogous
#798684 #798286 #797B86
triadic
#798286 #867982 #828679
tetradic
#798286 #847986 #867D79 #7B8679
square
#798286 #847986 #867D79 #7B8679
split-complementary
#798286 #86797B #868479
monochromatic
#3F4446 #5C6366 #798286 #99A0A3 #B9BEC0

Accessibility & contrast

On white

3.93
#798286 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#798286 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798286
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798286#FFFFFF#000000##000000
##7982861.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#808186
Deuteranopia (green-blind)
#7E8086
Tritanopia (blue-blind)
#768383
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798286;
/* rgb */ color: rgb(121, 130, 134);
/* oklch */ color: oklch(60.0% 0.012 226.1);
Tailwind
colors: {
  custom: {
    50: '#9fa6a9',
    500: '#798286',
    950: '#000000',
  },
}
SCSS
$custom: #798286;
$custom-light: #9fa6a9;
$custom-dark: #000000;
JSON
{
  "hex": "#798286",
  "rgb": {
    "r": 121,
    "g": 130,
    "b": 134
  },
  "hsl": {
    "h": 198.462,
    "s": 5.098,
    "l": 50
  },
  "oklch": {
    "l": 0.60044,
    "c": 0.0123,
    "h": 226.1
  },
  "luminance": 0.21751
}

Semantic roles & 50–950 ramp

primary
#798286
secondary
#B0ACAA
accent
#8A7AAE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798286

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

Preview Lab → · Contrast checker → · Palette generator →

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