#798481#798481

#798481 is a mid, near-neutral grey. Relative luminance 0.222; OKLCH L 60.3% C 0.014 H 177.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#798481
RGBrgb(121, 132, 129)
HSLhsl(164, 4%, 50%)
HSVhsv(164, 8%, 52%)
CMYKcmyk(8.3%, 0%, 2.3%, 48.2%)
CIE-LABlab(54.19, -4.65, 0.23)
CIE-LCHlch(54.19, 4.66, 177.15°)
OKLaboklab(60.33% -0.0137 0.0005)
OKLCHoklch(60.33% 0.014 177.7)
XYZxyz(20.0980, 22.1522, 23.9816)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798481 #84797C
analogous
#79847C #798481 #798284
triadic
#798481 #817984 #848179
tetradic
#798481 #7C7984 #84797C #828479
square
#798481 #7C7984 #84797C #828479
split-complementary
#798481 #847982 #847C79
monochromatic
#3E4443 #5C6462 #798481 #99A19F #B9BFBD

Accessibility & contrast

On white

3.87
#798481 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#798481 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798481
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798481#FFFFFF#000000##000000
##7984811.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838381
Deuteranopia (green-blind)
#818181
Tritanopia (blue-blind)
#778483
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #798481;
/* rgb */ color: rgb(121, 132, 129);
/* oklch */ color: oklch(60.3% 0.014 177.7);
Tailwind
colors: {
  custom: {
    50: '#9fa7a5',
    500: '#798481',
    950: '#000000',
  },
}
SCSS
$custom: #798481;
$custom-light: #9fa7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#798481",
  "rgb": {
    "r": 121,
    "g": 132,
    "b": 129
  },
  "hsl": {
    "h": 163.636,
    "s": 4.348,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60333,
    "c": 0.01371,
    "h": 177.7
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#798481
secondary
#AFAAAB
accent
#7A88AE
background
#F9FAFA
surface
#F2F4F4
border
#CCCECE
text
#0E0F0F
muted
#7E7F7F

Preview Lab

Preview with #798481

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

Preview Lab → · Contrast checker → · Palette generator →

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