#798178#798178

#798178 is a mid, near-neutral grey. Relative luminance 0.211; OKLCH L 59.4% C 0.016 H 142.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#798178
RGBrgb(121, 129, 120)
HSLhsl(113, 4%, 49%)
HSVhsv(113, 7%, 51%)
CMYKcmyk(6.2%, 0%, 7%, 49.4%)
CIE-LABlab(53.08, -4.77, 3.86)
CIE-LCHlch(53.08, 6.14, 141.07°)
OKLaboklab(59.38% -0.013 0.0101)
OKLCHoklch(59.38% 0.016 142.2)
XYZxyz(19.1250, 21.1214, 20.8349)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familygrey

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798178 #807881
analogous
#7E8178 #798178 #78817C
triadic
#798178 #787981 #817879
tetradic
#798178 #787E81 #807881 #817C78
square
#798178 #787E81 #807881 #817C78
split-complementary
#798178 #7C7881 #81787E
monochromatic
#3E423D #5B615B #798178 #989F97 #B8BCB7

Accessibility & contrast

On white

4.02
#798178 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#798178 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798178
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798178#FFFFFF#000000##000000
##7981781.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#827F78
Deuteranopia (green-blind)
#807E78
Tritanopia (blue-blind)
#79807E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798178;
/* rgb */ color: rgb(121, 129, 120);
/* oklch */ color: oklch(59.4% 0.016 142.2);
Tailwind
colors: {
  custom: {
    50: '#9fa59f',
    500: '#798178',
    950: '#000000',
  },
}
SCSS
$custom: #798178;
$custom-light: #9fa59f;
$custom-dark: #000000;
JSON
{
  "hex": "#798178",
  "rgb": {
    "r": 121,
    "g": 129,
    "b": 120
  },
  "hsl": {
    "h": 113.333,
    "s": 3.614,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.01644,
    "h": 142.2
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#798178
secondary
#ACA8AD
accent
#7BADA7
background
#F9FAF9
surface
#F2F4F2
border
#CCCECC
text
#0E0F0E
muted
#7E7F7E

Preview Lab

Preview with #798178

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

Preview Lab → · Contrast checker → · Palette generator →

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