#797368#797368

#797368 is a mid, near-neutral grey. Relative luminance 0.173; OKLCH L 55.8% C 0.018 H 82.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#797368
RGBrgb(121, 115, 104)
HSLhsl(39, 8%, 44%)
HSVhsv(39, 14%, 47%)
CMYKcmyk(0%, 5%, 14%, 52.5%)
CIE-LABlab(48.67, 0.26, 6.92)
CIE-LCHlch(48.67, 6.92, 87.83°)
OKLaboklab(55.76% 0.0023 0.018)
OKLCHoklch(55.76% 0.018 82.8)
XYZxyz(16.5144, 17.3261, 15.5683)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#797368 #686E79
analogous
#796B68 #797368 #777968
triadic
#797368 #687973 #736879
tetradic
#797368 #68796B #686E79 #796877
square
#797368 #68796B #686E79 #796877
split-complementary
#797368 #687779 #6B6879
monochromatic
#37342F #58544C #797368 #989287 #B4B0A8

Accessibility & contrast

On white

4.70
#797368 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#797368 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #797368
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##797368#FFFFFF#000000##FFFFFF
##7973681.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767367
Deuteranopia (green-blind)
#787468
Tritanopia (blue-blind)
#7C7170
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #797368;
/* rgb */ color: rgb(121, 115, 104);
/* oklch */ color: oklch(55.8% 0.018 82.8);
Tailwind
colors: {
  custom: {
    50: '#9f9b93',
    500: '#797368',
    950: '#000000',
  },
}
SCSS
$custom: #797368;
$custom-light: #9f9b93;
$custom-dark: #000000;
JSON
{
  "hex": "#797368",
  "rgb": {
    "r": 121,
    "g": 115,
    "b": 104
  },
  "hsl": {
    "h": 38.824,
    "s": 7.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55761,
    "c": 0.01816,
    "h": 82.8
  },
  "luminance": 0.17326
}

Semantic roles & 50–950 ramp

primary
#797368
secondary
#999DA4
accent
#8BB177
background
#F9F9F9
surface
#F2F2F1
border
#CCCCCB
text
#0E0E0D
muted
#7E7E7E

Preview Lab

Preview with #797368

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

Preview Lab → · Contrast checker → · Palette generator →

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