#798381#798381

#798381 is a mid, near-neutral grey. Relative luminance 0.219; OKLCH L 60.1% C 0.012 H 182.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#798381
RGBrgb(121, 131, 129)
HSLhsl(168, 4%, 49%)
HSVhsv(168, 8%, 51%)
CMYKcmyk(7.6%, 0%, 1.5%, 48.6%)
CIE-LABlab(53.90, -4.09, -0.19)
CIE-LCHlch(53.90, 4.09, 182.60°)
OKLaboklab(60.11% -0.0122 -0.0006)
OKLCHoklch(60.11% 0.012 182.6)
XYZxyz(19.9631, 21.8823, 23.9366)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798381 #83797B
analogous
#79837C #798381 #798083
triadic
#798381 #817983 #838179
tetradic
#798381 #7C7983 #83797B #808379
square
#798381 #7C7983 #83797B #808379
split-complementary
#798381 #837980 #837C79
monochromatic
#3E4342 #5C6362 #798381 #99A19F #B9BEBD

Accessibility & contrast

On white

3.91
#798381 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#798381 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798381
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798381#FFFFFF#000000##000000
##7983811.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#828281
Deuteranopia (green-blind)
#808081
Tritanopia (blue-blind)
#778382
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #798381;
/* rgb */ color: rgb(121, 131, 129);
/* oklch */ color: oklch(60.1% 0.012 182.6);
Tailwind
colors: {
  custom: {
    50: '#9fa7a5',
    500: '#798381',
    950: '#000000',
  },
}
SCSS
$custom: #798381;
$custom-light: #9fa7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#798381",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 129
  },
  "hsl": {
    "h": 168,
    "s": 3.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60107,
    "c": 0.01218,
    "h": 182.6
  },
  "luminance": 0.21883
}

Semantic roles & 50–950 ramp

primary
#798381
secondary
#AEAAAB
accent
#7B85AD
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798381

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

Preview Lab → · Contrast checker → · Palette generator →

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