#798779#798779

#798779 is a mid, muted grey. Relative luminance 0.228; OKLCH L 60.8% C 0.026 H 145.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#798779
RGBrgb(121, 135, 121)
HSLhsl(120, 6%, 50%)
HSVhsv(120, 10%, 53%)
CMYKcmyk(10.4%, 0%, 10.4%, 47.1%)
CIE-LABlab(54.84, -7.94, 5.80)
CIE-LCHlch(54.84, 9.84, 143.85°)
OKLaboklab(60.78% -0.0218 0.0151)
OKLCHoklch(60.78% 0.026 145.2)
XYZxyz(19.9996, 22.7731, 21.4274)
Luminance0.2277 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798779 #877987
analogous
#808779 #798779 #798780
triadic
#798779 #797987 #877979
tetradic
#798779 #798087 #877987 #878079
square
#798779 #798087 #877987 #878079
split-complementary
#798779 #807987 #877980
monochromatic
#3F463F #5C675C #798779 #99A499 #BAC1BA

Accessibility & contrast

On white

3.78
#798779 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#798779 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798779
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798779#FFFFFF#000000##000000
##7987791.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#888478
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#788683
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798779;
/* rgb */ color: rgb(121, 135, 121);
/* oklch */ color: oklch(60.8% 0.026 145.2);
Tailwind
colors: {
  custom: {
    50: '#9faa9f',
    500: '#798779',
    950: '#000000',
  },
}
SCSS
$custom: #798779;
$custom-light: #9faa9f;
$custom-dark: #000000;
JSON
{
  "hex": "#798779",
  "rgb": {
    "r": 121,
    "g": 135,
    "b": 121
  },
  "hsl": {
    "h": 120,
    "s": 5.512,
    "l": 50.196
  },
  "oklch": {
    "l": 0.60776,
    "c": 0.02649,
    "h": 145.2
  },
  "luminance": 0.22773
}

Semantic roles & 50–950 ramp

primary
#798779
secondary
#B1ABB1
accent
#79AFAF
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E100E
muted
#7E7F7E

Preview Lab

Preview with #798779

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

Preview Lab → · Contrast checker → · Palette generator →

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