#798371#798371

#798371 is a mid, muted grey. Relative luminance 0.215; OKLCH L 59.6% C 0.029 H 131.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#798371
RGBrgb(121, 131, 113)
HSLhsl(93, 7%, 48%)
HSVhsv(93, 14%, 51%)
CMYKcmyk(7.6%, 0%, 13.7%, 48.6%)
CIE-LABlab(53.48, -7.23, 8.49)
CIE-LCHlch(53.48, 11.15, 130.41°)
OKLaboklab(59.64% -0.0192 0.022)
OKLCHoklch(59.64% 0.029 131.1)
XYZxyz(18.9816, 21.4897, 18.7675)
Luminance0.2149 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798371 #7B7183
analogous
#828371 #798371 #718372
triadic
#798371 #717983 #837179
tetradic
#798371 #718283 #7B7183 #837271
square
#798371 #718283 #7B7183 #837271
split-complementary
#798371 #727183 #837182
monochromatic
#3C4138 #5B6255 #798371 #98A091 #B7BCB2

Accessibility & contrast

On white

3.96
#798371 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#798371 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798371
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798371#FFFFFF#000000##000000
##7983711.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#858070
Deuteranopia (green-blind)
#837F72
Tritanopia (blue-blind)
#7A817E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #798371;
/* rgb */ color: rgb(121, 131, 113);
/* oklch */ color: oklch(59.6% 0.029 131.1);
Tailwind
colors: {
  custom: {
    50: '#9fa799',
    500: '#798371',
    950: '#000000',
  },
}
SCSS
$custom: #798371;
$custom-light: #9fa799;
$custom-dark: #000000;
JSON
{
  "hex": "#798371",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 113
  },
  "hsl": {
    "h": 93.333,
    "s": 7.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59635,
    "c": 0.0292,
    "h": 131.1
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#798371
secondary
#A8A3AC
accent
#77B097
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #798371

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

Preview Lab → · Contrast checker → · Palette generator →

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